Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/codeceptjs/CodeceptJS
/ waitForFail
Method
waitForFail
test/data/sandbox/retry_helper.js:8–10 ·
view source on GitHub ↗
(fn)
Source
from the content-addressed store, hash-verified
6
}
7
8
waitForFail(fn) {
9
if
(fn()) throw
new
Error(
'ups, error'
);
10
}
11
12
asyncStep() {
13
return
new
Promise(resolve => {
Callers
1
flaky_test.retryFailed.js
File · 0.80
Calls
1
fn
Function · 0.50
Tested by
no test coverage detected