Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/codeceptjs/CodeceptJS
/ checkTestForErrors
Function
checkTestForErrors
test/unit/bdd_test.js:46–55 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
44
`
45
46
const
checkTestForErrors = test => {
47
return
new
Promise((resolve, reject) => {
48
test.fn(err => {
49
if
(err) {
50
return
reject(err)
51
}
52
resolve()
53
})
54
})
55
}
56
57
describe(
'BDD'
, () => {
58
beforeEach(
async
() => {
Callers
1
bdd_test.js
File · 0.85
Calls
1
resolve
Function · 0.85
Tested by
no test coverage detected