MCPcopy
hub / github.com/pmndrs/zustand / basic.test.ts

File basic.test.ts

tests/vanilla/basic.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { afterEach, expect, it, vi } from 'vitest'
2import { createStore } from 'zustand/vanilla'
3import type { StoreApi } from 'zustand/vanilla'
4

Callers

nothing calls this directly

Calls 4

setStateFunction · 0.85
getStateFunction · 0.85
incFunction · 0.70
createStoreFunction · 0.50

Tested by

no test coverage detected