Closed mo closed 7 years ago
If "foo" was expected but the actual value was undefined, then print:
actual: undefined expected: "foo"
If undefined was expected but "foo" was returned, then we print:
actual: "foo" expected: undefined
NOTE: When "actual" and "expected" are both undefined, the error being logged is not one comparing two values, for example:
message: "Too many calls to the assert.async callback" severity: failed
assert.async
If "foo" was expected but the actual value was undefined, then print:
actual: undefined expected: "foo"
If undefined was expected but "foo" was returned, then we print:
actual: "foo" expected: undefined
NOTE: When "actual" and "expected" are both undefined, the error being logged is not one comparing two values, for example:
message: "Too many calls to the
assert.async
callback" severity: failed