Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
1
import
{ afterEach, expect, it, vi } from
'vitest'
2
import
{ createStore } from
'zustand/vanilla'
3
import
type
{ StoreApi } from
'zustand/vanilla'
4
Callers
nothing calls this directly
Calls
4
setState
Function · 0.85
getState
Function · 0.85
inc
Function · 0.70
createStore
Function · 0.50
Tested by
no test coverage detected