Skip to content

Commit

Permalink
fix: scripts/test.mjs now takes additional arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
amydevs committed Aug 13, 2024
1 parent c5a42e8 commit 76e55df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ async function main() {
});
const jestArgs = [];
console.error('Running jest:');
console.error(['jest', ...jestArgs].join(' '));
childProcess.execFileSync('jest', jestArgs, {
console.error(['jest', ...jestArgs, ...process.argv.slice(2)].join(' '));
childProcess.execFileSync('jest', [...jestArgs, ...process.argv.slice(2)], {
env: {
...process.env,
NODE_OPTIONS: '--experimental-vm-modules',
Expand Down

0 comments on commit 76e55df

Please sign in to comment.