Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Sandpack/nodebox-runtime
/ withTimeout.test.ts
File
withTimeout.test.ts
packages/utils/withTimeout.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ DeferredPromise } from
'@open-draft/deferred-promise'
;
2
import
{ withTimeout } from
'./withTimeout'
;
3
4
it(
'rejects a pending promise if it exceeds the timeout'
,
async
() => {
Callers
nothing calls this directly
Calls
1
withTimeout
Function · 0.90
Tested by
no test coverage detected