Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/vitest-dev/vitest
/ resolve
Function
resolve
test/core/test/snapshot-async.test.ts:3–5 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1
import
{ expect, test } from
'vitest'
2
3
function
resolve() {
4
return
Promise.resolve(
'foo'
)
5
}
6
function
reject() {
7
return
Promise.reject(
new
Error(
'foo'
))
8
}
Callers
15
basic.test.ts
File · 0.70
web-worker-jsdom.test.ts
File · 0.70
exports.test.ts
File · 0.70
fs.test.ts
File · 0.70
dom.test.ts
File · 0.70
promiseResolver
Function · 0.70
wasm.test.ts
File · 0.70
bump
Function · 0.70
hooks.test.js
File · 0.70
web-worker-mock.test.ts
File · 0.70
imports.test.ts
File · 0.70
handled-unhandled.test.ts
File · 0.70
Calls
1
resolve
Method · 0.45
Tested by
no test coverage detected