Skip to content

Commit c5cb707

Browse files
committed
fix: add missing commas in spawnSync options for consistency
1 parent 58cca8b commit c5cb707

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/es-module/test-require-module-transpiled.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const result = spawnSync(process.execPath, [
99
'--experimental-require-module',
1010
fixtures.path('es-modules', 'transpiled-cjs-require-module', 'dist', 'import-both.cjs'),
1111
], {
12-
encoding: 'utf8'
12+
encoding: 'utf8',
1313
});
1414
if (!result.stdout.includes('import both')) {
1515
throw new Error(`stdout did not include 'import both':\n${result.stdout}`);
@@ -19,7 +19,7 @@ const resultNamed = spawnSync(process.execPath, [
1919
'--experimental-require-module',
2020
fixtures.path('es-modules', 'transpiled-cjs-require-module', 'dist', 'import-named.cjs'),
2121
], {
22-
encoding: 'utf8'
22+
encoding: 'utf8',
2323
});
2424
if (!resultNamed.stdout.includes('import named')) {
2525
throw new Error(`stdout did not include 'import named':\n${resultNamed.stdout}`);
@@ -29,7 +29,7 @@ const resultDefault = spawnSync(process.execPath, [
2929
'--experimental-require-module',
3030
fixtures.path('es-modules', 'transpiled-cjs-require-module', 'dist', 'import-default.cjs'),
3131
], {
32-
encoding: 'utf8'
32+
encoding: 'utf8',
3333
});
3434
if (!resultDefault.stdout.includes('import default')) {
3535
throw new Error(`stdout did not include 'import default':\n${resultDefault.stdout}`);

0 commit comments

Comments
 (0)