MCPcopy
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
32test('an async function', () => {
33 async function asyncFn() {}
34 expect(isPromise(asyncFn())).toBe(true);
35});

Callers 1

isPromise.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected