Skip to content

Commit 58ae92a

Browse files
committed
enable tests
1 parent d2faab9 commit 58ae92a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ test('It should report an error on start', async (t) => {
9393
})
9494

9595
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', {
9797
// stdout: true,
9898
env: {
9999
TS_NODE_DEV_ERROR_RECOMPILE_TIMEOUT: 500,
@@ -113,7 +113,7 @@ const notFoundSource = `export const fn = (x: number) => {
113113
return 'v1'
114114
}
115115
`
116-
test.only('It recompiles file on error and restarts', async (t) => {
116+
test('It recompiles file on error and restarts', async (t) => {
117117
const ps = spawnTsNodeDev('--respawn --error-recompile with-not-found.ts', {
118118
//stdout: true,
119119
env: {
@@ -139,7 +139,7 @@ test('It handles allowJs option and loads JS modules', async (t) => {
139139
`--compilerOptions=${JSON.stringify(cOptions)}`,
140140
`js-module.js`,
141141
].join(' ')
142-
).turnOnOutput()
142+
) //.turnOnOutput()
143143
await ps.waitForLine(/JS MODULE/)
144144
await ps.exit()
145145
})

0 commit comments

Comments
 (0)