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

Function fn

test/core/test/jest-mock.test.ts:102–104  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

100
101 it('implementation types allow only function returned types', () => {
102 function fn() {
103 return 1
104 }
105
106 function asyncFn() {
107 return Promise.resolve(1)

Callers 12

jest-mock.test.tsFile · 0.70
safeCallFunction · 0.70
handlerFunction · 0.70
fn.test.tsFile · 0.70
toBeJestCompatibleFunction · 0.70
snapshot.test.tsFile · 0.70
basic-fixture.tsFile · 0.50
captureMethod · 0.50
vi-fn.test.tsFile · 0.50
konst.test.tsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected