Skip to content

Commit

Permalink
fix: back-compatibility of testing w/ Node v12
Browse files Browse the repository at this point in the history
  • Loading branch information
codejedi365 committed Oct 23, 2021
1 parent 10a1449 commit a78bd05
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/lib/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import fs from "fs/promises";
import { promises as fsPromises } from "fs";
import { resolve } from "path";
import rulebook from "../../lib/rules";
import { configs } from "../../lib";
import "jest-extended";

const fs = fsPromises;
let rulesSpy: jest.SpyInstance;

beforeEach(() => {
Expand Down

0 comments on commit a78bd05

Please sign in to comment.