File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 34
34
"lint:types" : " tsc --noEmit --pretty" ,
35
35
"prepublishOnly" : " npm run build" ,
36
36
"start" : " node bin/create-configs.js" ,
37
- "test" : " NODE_OPTIONS=\" --experimental-vm-modules $NODE_OPTIONS \" npx jest" ,
38
- "test:debug" : " NODE_OPTIONS ='--inspect-brk' npm run test -- --runInBand"
37
+ "test" : " NODE_OPTIONS=\" --experimental-vm-modules $NODE_OPTS \" jest" ,
38
+ "test:debug" : " NODE_OPTS ='--inspect-brk' npm run test -- --runInBand"
39
39
},
40
40
"dependencies" : {
41
41
"@inquirer/prompts" : " ^5.0.0" ,
Original file line number Diff line number Diff line change @@ -199,8 +199,8 @@ export function _generate_test_script({
199
199
const scripts : TestScripts = ( ( ) : TestScripts => {
200
200
if ( technologies . includes ( 'jest' ) ) {
201
201
return {
202
- test : `NODE_OPTIONS="--experimental-vm-modules $NODE_OPTIONS" npx ${ deps . d . depend ( 'jest' ) } ` ,
203
- 'test:debug' : `NODE_OPTIONS ='--inspect-brk' npm run test -- --runInBand` ,
202
+ test : `NODE_OPTIONS="--experimental-vm-modules $NODE_OPTS" ${ deps . d . depend ( 'jest' ) } ` ,
203
+ 'test:debug' : `NODE_OPTS ='--inspect-brk' npm run test -- --runInBand` ,
204
204
} ;
205
205
} else if ( runtime === 'nodejs' ) {
206
206
// We must be using the node test runner then
You can’t perform that action at this time.
0 commit comments