MCPcopy 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

negateMethod · 0.95
equal_test.jsFile · 0.45
include_test.jsFile · 0.45
empty_test.jsFile · 0.45

Calls 1

getExceptionMethod · 0.95

Tested by

no test coverage detected