MCPcopy Create free account
hub / github.com/deepnote/deepnote / getMockedRandomUUID

Function getMockedRandomUUID

packages/convert/src/jupyter-to-deepnote.test.ts:33–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31
32// Helper to get the mocked crypto.randomUUID with reset function
33function getMockedRandomUUID() {
34 return vi.mocked(crypto.randomUUID) as ReturnType<typeof vi.mocked<typeof crypto.randomUUID>> & {
35 __resetCounter: () => void
36 }
37}
38
39describe('convertIpynbFileToDeepnoteFile', () => {
40 let tempDir: string

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected