MCPcopy
hub / github.com/tldraw/tldraw / TLLocalSyncClient.test.ts

File TLLocalSyncClient.test.ts

packages/editor/src/lib/utils/sync/TLLocalSyncClient.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { PageRecordType } from '@tldraw/tlschema'
2import { IndexKey, promiseWithResolve } from '@tldraw/utils'
3import { Mock, vi } from 'vitest'
4import { createTLStore } from '../../config/createTLStore'

Callers

nothing calls this directly

Calls 8

hardResetFunction · 0.90
promiseWithResolveFunction · 0.90
testClientFunction · 0.85
onmessageMethod · 0.80
putMethod · 0.65
createMethod · 0.65
resolveMethod · 0.65
tickFunction · 0.50

Tested by

no test coverage detected