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

File StoreSchema.test.ts

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

Source from the content-addressed store, hash-verified

1/* eslint-disable @typescript-eslint/no-deprecated -- serializeEarliestVersion (SC3) is part of the tested contract */
2import { assert } from '@tldraw/utils'
3import { describe, expect, it, test, vi } from 'vitest'
4import { BaseRecord, RecordId } from './BaseRecord'

Callers

nothing calls this directly

Calls 15

createRecordTypeFunction · 0.90
createMigrationSequenceFunction · 0.90
upgradeSchemaFunction · 0.90
noopMigrationFunction · 0.85
mockSequenceFunction · 0.85
getMigrationsBetweenFunction · 0.85
makeSchemaFunction · 0.85
makePersistedSchemaFunction · 0.85
makeTestRecordFunction · 0.85
makeStorageFunction · 0.85
getTypeMethod · 0.80

Tested by

no test coverage detected