MCPcopy Index your code
hub / github.com/Effect-TS/effect / fail

Function fail

packages/effect/test/util.ts:13–15  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

11 * Throws an `AssertionError` with the provided error message.
12 */
13export function fail(message: string) {
14 assert.fail(message)
15}
16
17export function deepStrictEqual<A>(actual: A, expected: A, message?: string, ..._: Array<never>) {
18 assert.deepStrictEqual(actual, expected, message)

Callers 5

assertEqualsFunction · 0.70
assertIncludeFunction · 0.70
assertMatchFunction · 0.70
throwsFunction · 0.70
throwsAsyncFunction · 0.70

Calls 1

failMethod · 0.65

Tested by

no test coverage detected