Skip to content

Commit dea8427

Browse files
test(workers): drop flaky JS grep case; gherkin regression is enough
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent c3bf125 commit dea8427

1 file changed

Lines changed: 0 additions & 25 deletions

File tree

‎test/unit/worker_test.js‎

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -444,29 +444,4 @@ describe('Workers', function () {
444444
})
445445
})
446446

447-
it('should run each assigned worker test once after pre-load (no duplicate loadTests in run)', done => {
448-
const workerConfig = {
449-
by: 'test',
450-
testConfig: './test/data/sandbox/codecept.workers.conf.js',
451-
options: {
452-
grep: 'From worker @1_grep print message 1',
453-
},
454-
}
455-
456-
let passedCount = 0
457-
const workers = new Workers(1, workerConfig)
458-
459-
workers.on(event.test.passed, () => {
460-
passedCount += 1
461-
})
462-
463-
workers.run()
464-
465-
workers.on(event.all.result, result => {
466-
expect(passedCount).to.equal(1)
467-
expect(result.stats.tests).to.equal(1)
468-
expect(result.stats.passes).to.equal(1)
469-
done()
470-
})
471-
})
472447
})

0 commit comments

Comments
 (0)