MCPcopy
hub / github.com/jestjs/jest / getCustomEqualityTesters

Function getCustomEqualityTesters

packages/expect/src/jestMatchersObject.ts:129–130  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

127};
128
129export const getCustomEqualityTesters = (): Array<Tester> =>
130 (globalThis as any)[JEST_MATCHERS_OBJECT].customEqualityTesters;
131
132export const addCustomEqualityTesters = (newTesters: Array<Tester>): void => {
133 if (!Array.isArray(newTesters)) {

Callers 3

makeThrowingMatcherFunction · 0.90
getMatcherContextFunction · 0.90
isEqualValueFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected