File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -36,12 +36,12 @@ describe(`Extra Tests`, () => {
36
36
37
37
describe ( `ts-node register script` , ( ) => {
38
38
test ( `Works with --transpileOnly` , ( ) => {
39
- const res = execSync ( "npx ts-node --transpileOnly src/index.ts" , { cwd : projectRoot } ) . toString ( ) ;
39
+ const res = execSync ( "yarn run --silent ts-node --transpileOnly src/index.ts" , { cwd : projectRoot } ) . toString ( ) ;
40
40
expect ( stripAnsi ( res ) ) . toMatch ( / ^ n u l l ( $ | \r ? \n ) / m) ;
41
41
} ) ;
42
42
43
43
test ( `Works with --typeCheck` , ( ) => {
44
- const res = execSync ( "npx ts-node --typeCheck src/index.ts" , { cwd : projectRoot } ) . toString ( ) ;
44
+ const res = execSync ( "yarn run --silent ts-node --typeCheck src/index.ts" , { cwd : projectRoot } ) . toString ( ) ;
45
45
expect ( stripAnsi ( res ) ) . toMatch ( / ^ n u l l ( $ | \r ? \n ) / ) ;
46
46
} ) ;
47
47
} ) ;
You can’t perform that action at this time.
0 commit comments