MCPcopy Create free account
hub / github.com/ZenNotes/zennotes / loadStore

Function loadStore

packages/app-core/src/store-note-integrity.test.ts:86–90  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

84}
85
86async function loadStore() {
87 vi.resetModules()
88 localStorage.clear()
89 return import('./store')
90}
91
92async function flush(): Promise<void> {
93 await new Promise((r) => window.setTimeout(r, 0))

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected