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

Function inner

test/snapshots/test/fixtures/custom-matcher/basic.test.ts:54–59  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

52 chai.util.flag(this.assertion, 'error', new Error())
53 await Promise.resolve()
54 const inner = async () => {
55 await Promise.resolve()
56 const actualCustom = formatCustom(actual)
57 const result = toMatchInlineSnapshot.call(this, actualCustom, inlineSnapshot)
58 return { ...result, message: () => `[custom error] ${result.message()}` }
59 }
60 const result = await inner();
61 return result;
62 }

Callers 1

Calls 2

formatCustomFunction · 0.85
resolveMethod · 0.45

Tested by

no test coverage detected