File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments