Skip to content

Commit 2171c3a

Browse files
committed
fix: scripts/test.mjs now takes additional arguments
1 parent a47e5ad commit 2171c3a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/test.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ async function main() {
2525
});
2626
const jestArgs = [];
2727
console.error('Running jest:');
28-
console.error(['jest', ...jestArgs].join(' '));
29-
childProcess.execFileSync('jest', jestArgs, {
28+
console.error(['jest', ...jestArgs, ...process.argv.slice(2)].join(' '));
29+
childProcess.execFileSync('jest', [...jestArgs, ...process.argv.slice(2)], {
3030
env: {
3131
...process.env,
3232
NODE_OPTIONS: '--experimental-vm-modules',

0 commit comments

Comments
 (0)