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

Method toAsymmetricMatcher

packages/expect/src/asymmetricMatchers.ts:393–399  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

391 }
392
393 override toAsymmetricMatcher(): string {
394 return [
395 this.toString(),
396 this.sample,
397 `(${pluralize('digit', this.precision)})`,
398 ].join(' ');
399 }
400}
401
402export const any = (expectedObject: unknown): Any => new Any(expectedObject);

Callers

nothing calls this directly

Calls 2

toStringMethod · 0.95
pluralizeFunction · 0.90

Tested by

no test coverage detected