Skip to content

Commit 58da4d2

Browse files
committed
cleanup
1 parent 5017fe5 commit 58da4d2

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

test/parallel/test-runner-run.mjs

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -118,21 +118,6 @@ describe('require(\'node:test\').run', { concurrency: true }, () => {
118118
assert.strictEqual(result[5], 'ok 2 - this should be executed\n');
119119
});
120120

121-
it('should stop watch mode when abortSignal aborts', async () => {
122-
const controller = new AbortController();
123-
const result = await run({ files: [join(testFixtures, 'test/random.cjs')], watch: true, signal: controller.signal })
124-
.compose(async function* (source) {
125-
for await (const chunk of source) {
126-
if (chunk.type === 'test:pass') {
127-
controller.abort();
128-
yield chunk.data.name;
129-
}
130-
}
131-
})
132-
.toArray();
133-
assert.deepStrictEqual(result, ['this should pass']);
134-
});
135-
136121
it('should emit "test:watch:drained" event on watch mode', async () => {
137122
const controller = new AbortController();
138123
await run({

0 commit comments

Comments
 (0)