Skip to content

Commit 3e4c505

Browse files
Update test-node-run.js
Co-authored-by: Yagiz Nizipli <yagiz@nizipli.com>
1 parent f89a3c8 commit 3e4c505

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/parallel/test-node-run.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -239,8 +239,7 @@ describe('node --run [command]', () => {
239239
});
240240

241241
it('returns error on non-directory path for --run-dir', async () => {
242-
const nonDirPath = fixtures.path('run-script/non-directory-file');
243-
fs.writeFileSync(nonDirPath, 'run-script/package.json');
242+
const nonDirPath = fixtures.path('run-script/package.json');
244243

245244
const child = await common.spawnPromisified(
246245
process.execPath,

0 commit comments

Comments
 (0)