codeceptjs 3.7.5-beta.3 → 3.7.5-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -39,8 +39,13 @@ module.exports = function (config) {
|
|
|
39
39
|
let allTestsPassed = true
|
|
40
40
|
let workerFailedTests = new Map() // Track failed tests from workers
|
|
41
41
|
|
|
42
|
-
// Track test failures
|
|
42
|
+
// Track test failures - only in non-worker mode
|
|
43
43
|
event.dispatcher.on(event.test.failed, test => {
|
|
44
|
+
// In worker mode, we'll collect failed tests from consolidated results instead
|
|
45
|
+
if (store.hasWorkers) {
|
|
46
|
+
return
|
|
47
|
+
}
|
|
48
|
+
|
|
44
49
|
allTestsPassed = false
|
|
45
50
|
|
|
46
51
|
const failedTest = {
|