Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/vitejs/vite
/ getError
Function
getError
playground/js-sourcemap/test-ssr-dev.js:28–37 ·
view source on GitHub ↗
(f)
Source
from the content-addressed store, hash-verified
26
}
27
28
async
function
getError(f) {
29
let
error
30
try {
31
await
f()
32
} catch (e) {
33
error = e
34
}
35
assert.ok(error)
36
return
error
37
}
38
39
runTest()
Callers
1
runTest
Function · 0.70
Calls
1
f
Function · 0.50
Tested by
no test coverage detected