Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
serialize
Function · 0.45
Calls
2
toString
Method · 0.95
stringify
Function · 0.85
Tested by
no test coverage detected