Skip to content

Commit 2d6a27a

Browse files
committed
new version
1 parent 99b3e88 commit 2d6a27a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/plugin/retryFailedStep.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ export default function (config) {
128128
return
129129
}
130130

131-
// Check if test.retries is a function (may not exist in all contexts)
132131
const scenarioRetries = typeof test.retries === 'function' ? test.retries() : -1
133132
const stepRetryPriority = RETRY_PRIORITIES.STEP_PLUGIN
134133
const scenarioPriority = test.opts.retryPriority || 0
@@ -160,7 +159,6 @@ export default function (config) {
160159
const hasManualRetries = recorder.retries.some(retry => retry !== config)
161160
if (hasManualRetries) return
162161

163-
// Check if test.retries is a function
164162
const scenarioRetries = typeof test.retries === 'function' ? test.retries() : -1
165163
if (scenarioRetries > 0 && config.deferToScenarioRetries !== false) {
166164
return

0 commit comments

Comments
 (0)