Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/jestjs/jest
/ asyncFn
Function
asyncFn
packages/jest-util/src/__tests__/isPromise.test.ts:33–33 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
31
32
test(
'an async function'
, () => {
33
async
function
asyncFn() {}
34
expect(isPromise(asyncFn())).toBe(true);
35
});
Callers
1
isPromise.test.ts
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected