Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pmndrs/zustand
/ subscribe.test.tsx
File
subscribe.test.tsx
tests/vanilla/subscribe.test.tsx:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import { describe, expect, it, vi } from
'vitest'
2
import { subscribeWithSelector } from
'zustand/middleware'
3
import { createStore } from
'zustand/vanilla'
4
Callers
nothing calls this directly
Calls
5
subscribe
Function · 0.85
setState
Function · 0.85
getState
Function · 0.85
isRoughEqual
Function · 0.85
createStore
Function · 0.50
Tested by
no test coverage detected