MCPcopy
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

1import { describe, expect, it, vi } from 'vitest'
2import { subscribeWithSelector } from 'zustand/middleware'
3import { createStore } from 'zustand/vanilla'
4

Callers

nothing calls this directly

Calls 5

subscribeFunction · 0.85
setStateFunction · 0.85
getStateFunction · 0.85
isRoughEqualFunction · 0.85
createStoreFunction · 0.50

Tested by

no test coverage detected