Skip to content

Commit

Permalink
fixup: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
bmeck committed Mar 18, 2022
1 parent 3d66f37 commit fa8c5cd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/parallel/test-require-enoent-dir.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ const path = require('path');
tmpdir.refresh();

const fooPath = path.join(tmpdir.path, 'foo.cjs');
fs.writeFileSync(fooPath, ``);
fs.writeFileSync(fooPath, '');

const dirPath = path.join(tmpdir.path, 'delete_me');
fs.mkdirSync(dirPath, {
recursive: true
recursive: true
});

const barPath = path.join(dirPath, 'bar.cjs');
Expand All @@ -23,8 +23,8 @@ fs.writeFileSync(barPath, `

const foo = require(fooPath);
const unique = Symbol('unique');
foo.call = common.mustCall(() => unique)
foo.call = common.mustCall(() => unique);
const bar = require(barPath);

fs.rmSync(dirPath, {recursive: true});
fs.rmSync(dirPath, { recursive: true });
assert.strict.equal(bar(), unique);

0 comments on commit fa8c5cd

Please sign in to comment.