Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/node-modules/utility
/ timeout.test.ts
File
timeout.test.ts
test/timeout.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ strict as assert } from
'node:assert'
;
2
import
* as utility from
'../src/index.js'
;
3
import
{ runWithTimeout, TimeoutError, promiseTimeout } from
'../src/index.js'
;
4
Callers
nothing calls this directly
Calls
3
runWithTimeout
Function · 0.85
sleep
Function · 0.85
promiseTimeout
Function · 0.85
Tested by
no test coverage detected