Skip to content

Commit

Permalink
test(fslib): support node 12
Browse files Browse the repository at this point in the history
  • Loading branch information
merceyz committed Feb 2, 2023
1 parent b81f76d commit 61361a2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/yarnpkg-fslib/tests/patchedFs.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -564,8 +564,7 @@ describe(`patchedFs`, () => {
const filepath = npath.join(npath.fromPortablePath(dir), `foo.txt`);
await patchedFs.promises.writeFile(filepath, `1\n\n2\n`);

// @ts-expect-error - Types are out of date
const fd = await patchedFs.promises.open(filepath);
const fd = await patchedFs.promises.open(filepath, `r`);

const lines: Array<string> = [];
// @ts-expect-error - Types are out of date
Expand Down

0 comments on commit 61361a2

Please sign in to comment.