Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/codeceptjs/CodeceptJS
/ getFailedNegation
Method
getFailedNegation
lib/assert.js:61–65 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
59
}
60
61
getFailedNegation() {
62
const
err = this.getException()
63
err.params.
type
= `not ${err.params.
type
}`
64
return
err
65
}
66
67
getFailedAssertion() {
68
return
this.getException()
Callers
4
negate
Method · 0.95
equal_test.js
File · 0.45
include_test.js
File · 0.45
empty_test.js
File · 0.45
Calls
1
getException
Method · 0.95
Tested by
no test coverage detected