MCPcopy Create free account
hub / github.com/TanStack/db / local-storage.test.ts

File local-storage.test.ts

packages/db/tests/local-storage.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest'
2import superjson from 'superjson'
3import { createCollection } from '../src/index'
4import { localStorageCollectionOptions } from '../src/local-storage'

Callers

nothing calls this directly

Calls 15

beforeEachFunction · 0.90
afterEachFunction · 0.90
createCollectionFunction · 0.90
expectFunction · 0.90
createTransactionFunction · 0.90
verifyConsistencyFunction · 0.85
getItemMethod · 0.80
setItemMethod · 0.80
fnMethod · 0.80
triggerStorageEventMethod · 0.80
clearMethod · 0.45

Tested by

no test coverage detected