We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eba6ec7 commit e659027Copy full SHA for e659027
lib/runner.js
@@ -134,7 +134,7 @@ function Runner(suite, delay) {
134
this.total = suite.total();
135
this.failures = 0;
136
this.on(constants.EVENT_TEST_END, function(test) {
137
- if (test.retriedTest() && test.parent) {
+ if (test.type === 'test' && test.retriedTest() && test.parent) {
138
var idx =
139
test.parent.tests && test.parent.tests.indexOf(test.retriedTest());
140
if (idx > -1) test.parent.tests[idx] = test;
0 commit comments