Skip to content

Commit f89a3c8

Browse files
committed
use a package.json
1 parent 864b7fb commit f89a3c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-node-run.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ describe('node --run [command]', () => {
240240

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

245245
const child = await common.spawnPromisified(
246246
process.execPath,

0 commit comments

Comments
 (0)