File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ const waitFor = (timeout: number) => {
31
31
return new Promise ( ( resolve ) => setTimeout ( resolve , timeout ) )
32
32
}
33
33
34
- fs . ensureDir ( tempDir )
34
+ fs . ensureDirSync ( tempDir )
35
35
fs . removeSync ( join ( tempDir , 'fixture' ) )
36
36
fs . copySync ( join ( __dirname , 'fixture' ) , scriptsDir )
37
37
@@ -95,7 +95,7 @@ test('It should report an error on start', async (t) => {
95
95
await replaceText ( 'with-error.ts' , '1' , `'1'` )
96
96
} )
97
97
98
- test ( 'It should restart on adding not imported module' , async ( t ) => {
98
+ test . only ( 'It should restart on adding not imported module' , async ( t ) => {
99
99
const ps = spawnTsNodeDev ( '--respawn with-error.ts' , {
100
100
// stdout: true,
101
101
env : {
Original file line number Diff line number Diff line change 1
1
import child = require( 'child_process' )
2
2
import path = require( 'path' )
3
- import { resolve } from 'url'
4
- import { resolveSoa } from 'dns'
5
3
const bin = path . join ( __dirname , '/../bin/ts-node-dev' )
6
4
const scriptsDir = path . join ( __dirname , '/../.temp/fixture' )
7
5
You can’t perform that action at this time.
0 commit comments