Skip to content

Commit 63a09ed

Browse files
committed
test: add todo test
1 parent 0b86380 commit 63a09ed

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

test/parallel/test-runner-watch-mode.mjs

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -194,12 +194,13 @@ describe('test runner watch mode', () => {
194194
await testWatch({ fileToUpdate: 'test.js', action: 'delete', isolation });
195195
});
196196

197-
if (isolation !== 'none') {
198-
// This test is failing if isolation is set to none
199-
it('should run new tests when a new file is created in the watched directory', async () => {
200-
await testWatch({ action: 'create', fileToCreate: 'new-test-file.test.js', isolation });
201-
});
202-
}
197+
it('should run new tests when a new file is created in the watched directory', {
198+
todo: isolation === 'none' ?
199+
'This test is failing when isolation is set to none and must be fixed' :
200+
undefined,
201+
}, async () => {
202+
await testWatch({ action: 'create', fileToCreate: 'new-test-file.test.js', isolation });
203+
});
203204
});
204205
}
205206
});

0 commit comments

Comments
 (0)