MCPcopy Index your code
hub / github.com/deepnote/deepnote / createMockFuture

Function createMockFuture

packages/runtime-core/src/kernel-client.test.ts:69–75  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

67
68// Helper to create a mock execution future
69function createMockFuture() {
70 return {
71 onIOPub: null as ((msg: unknown) => void) | null,
72 done: Promise.resolve(),
73 dispose: vi.fn(),
74 }
75}
76
77describe('KernelClient', () => {
78 let client: KernelClient

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected