File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ test('It should report an error on start', async (t) => {
93
93
} )
94
94
95
95
test ( 'It should restart on adding not imported module' , async ( t ) => {
96
- const ps = spawnTsNodeDev ( '--respawn with-error.ts' , {
96
+ const ps = spawnTsNodeDev ( '--respawn --error-recompile with-error.ts' , {
97
97
// stdout: true,
98
98
env : {
99
99
TS_NODE_DEV_ERROR_RECOMPILE_TIMEOUT : 500 ,
@@ -113,7 +113,7 @@ const notFoundSource = `export const fn = (x: number) => {
113
113
return 'v1'
114
114
}
115
115
`
116
- test . only ( 'It recompiles file on error and restarts' , async ( t ) => {
116
+ test ( 'It recompiles file on error and restarts' , async ( t ) => {
117
117
const ps = spawnTsNodeDev ( '--respawn --error-recompile with-not-found.ts' , {
118
118
//stdout: true,
119
119
env : {
@@ -139,7 +139,7 @@ test('It handles allowJs option and loads JS modules', async (t) => {
139
139
`--compilerOptions=${ JSON . stringify ( cOptions ) } ` ,
140
140
`js-module.js` ,
141
141
] . join ( ' ' )
142
- ) . turnOnOutput ( )
142
+ ) // .turnOnOutput()
143
143
await ps . waitForLine ( / J S M O D U L E / )
144
144
await ps . exit ( )
145
145
} )
You can’t perform that action at this time.
0 commit comments