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

File Store.test.ts

packages/store/src/lib/Store.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { react } from '@tldraw/state'
2import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest'
3import { BaseRecord, RecordId } from './BaseRecord'
4import { createMigrationSequence } from './migrate'

Callers

nothing calls this directly

Calls 15

createRecordTypeFunction · 0.90
reactFunction · 0.90
createMigrationSequenceFunction · 0.90
createComputedCacheFunction · 0.90
schemaFunction · 0.85
withDefaultPropertiesMethod · 0.80
allRecordsMethod · 0.80
createIdMethod · 0.80
listenMethod · 0.80
extractingChangesMethod · 0.80
getStoreSnapshotMethod · 0.80

Tested by

no test coverage detected