Skip to content

Commit 1183d02

Browse files
committed
test: remove duplicated tests
1 parent 791fb5e commit 1183d02

File tree

1 file changed

+0
-37
lines changed

1 file changed

+0
-37
lines changed

test/parallel/test-runner-run.mjs

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -625,43 +625,6 @@ describe('require(\'node:test\').run', { concurrency: true }, () => {
625625
assert.strictEqual(counts.failedTestCount, 1);
626626
assert.strictEqual(counts.passedTestCount, 1);
627627
});
628-
629-
it('should handle the bail option with multiple files', async () => {
630-
const stream = run({
631-
files: [
632-
join(testFixtures, 'bailout', 'sequential.test.mjs'),
633-
join(testFixtures, 'bailout', 'suite.test.mjs'),
634-
],
635-
bail: true,
636-
concurrency: 2
637-
});
638-
639-
const counts = await consumeTestStream(stream);
640-
641-
assert.strictEqual(counts.generalBailCount, 1);
642-
assert.strictEqual(counts.failureDueToBailOutCount, 3);
643-
assert.strictEqual(counts.failedTestCount, 1);
644-
assert.strictEqual(counts.passedTestCount, 1);
645-
});
646-
647-
it('should handle the bail option with isolation none', async () => {
648-
const stream = run({
649-
files: [join(testFixtures, 'bailout', 'sequential.test.mjs')],
650-
bail: true,
651-
isolation: 'none',
652-
});
653-
654-
const counts = await consumeTestStream(stream);
655-
656-
assert.strictEqual(counts.generalBailCount, 1);
657-
assert.strictEqual(counts.failureDueToBailOutCount, 2);
658-
assert.strictEqual(counts.failedTestCount, 1);
659-
assert.strictEqual(counts.passedTestCount, 1);
660-
});
661-
662-
// TODO(pmarchini): Bailout is not supported in watch mode yet but it should be.
663-
// We should enable this test once it is supported.
664-
it.todo('should handle the bail option with watch mode');
665628
});
666629

667630
it('should avoid running recursively', async () => {

0 commit comments

Comments
 (0)