fix(docs/typescript): use correct initial state in test example (#1577)

This commit is contained in:
Holger Grosse-Plankermann 2023-01-26 11:55:37 +01:00 committed by GitHub
parent 44b23382f0
commit 1023eb4af4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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', () => {