MCPcopy
hub / github.com/vitest-dev/vitest / toAsymmetricMatcher

Method toAsymmetricMatcher

packages/expect/src/jest-extend.ts:178–180  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

176 }
177
178 toAsymmetricMatcher() {
179 return `${this.toString()}<${this.sample.map(item => stringify(item)).join(', ')}>`
180 }
181 }
182
183 const customMatcher = (...sample: [unknown, ...unknown[]]) =>

Callers 1

serializeFunction · 0.45

Calls 2

toStringMethod · 0.95
stringifyFunction · 0.85

Tested by

no test coverage detected