mirror of
https://github.com/pmndrs/zustand.git
synced 2025-12-08 19:45:52 +00:00
fix(docs/typescript): use correct initial state in test example (#1577)
This commit is contained in:
parent
44b23382f0
commit
1023eb4af4
@ -444,7 +444,7 @@ import { vanillaBearStore, initialBearState } from './BearStore'
|
||||
describe('MyComponent should', () => {
|
||||
// remember to reset the store
|
||||
beforeEach(() => {
|
||||
vanillaBearStore.setState(initialState)
|
||||
vanillaBearStore.setState(initialBearState)
|
||||
})
|
||||
|
||||
it('set the value', () => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user