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

Function async

test/core/test/mocking/vi-spyOn.test.ts:768–770  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

766 return 42
767 },
768 async() {
769 return Promise.resolve(42)
770 },
771 get getter() {
772 return getterValue
773 },

Callers

nothing calls this directly

Calls 1

resolveMethod · 0.45

Tested by

no test coverage detected