(condition: boolean, failureMessage: string)
| 185 | negate = false, |
| 186 | ): Record<string, unknown> { |
| 187 | const assert = (condition: boolean, failureMessage: string): void => { |
| 188 | const shouldFail = negate ? condition : !condition |
| 189 | if (shouldFail) { |
| 190 | failExpectation(message, failureMessage) |
| 191 | } |
| 192 | } |
| 193 | |
| 194 | const matchers = { |
| 195 | toBe(expected: unknown) { |
no test coverage detected