MCPcopy 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

1import { DeferredPromise } from '@open-draft/deferred-promise';
2import { withTimeout } from './withTimeout';
3
4it('rejects a pending promise if it exceeds the timeout', async () => {

Callers

nothing calls this directly

Calls 1

withTimeoutFunction · 0.90

Tested by

no test coverage detected