Skip to content

Commit

Permalink
fixup! fix biome lint complaints
Browse files Browse the repository at this point in the history
  • Loading branch information
rivy committed Nov 26, 2023
1 parent cbdcd92 commit 1a4837a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@ test('correct non-"isolated" paths with XDG_* set', (t) => {
test('correctly derive anonymous (CJS)', (t) => {
const command = 'node';
process.env.TEST_MODULE_PATH = './build/lab/src/mod.cjs.js';
const script = `"import p from '${process.env.TEST_MODULE_PATH}'; console.log(p.$name({}));"`;
const script = `"p = require('${process.env.TEST_MODULE_PATH}'); console.log(p.$name({}));"`;
const args = ['-e', isWinOS ? script : script.replace('$name', '\\$name')];
const options = { shell: true, encoding: 'utf-8' };

Expand Down

0 comments on commit 1a4837a

Please sign in to comment.