Skip to content

Commit 2cc8014

Browse files
committed
chore: fix some typos in comment
Signed-off-by: clonemycode <[email protected]>
1 parent c3dceea commit 2cc8014

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/guides/testing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ See these resources for test runner configuration instructions:
2626
**We recommend using [React Testing Library (RTL)](https://testing-library.com/docs/react-testing-library/intro)
2727
to test out React components that connect to Zustand**. RTL is a simple and complete React DOM
2828
testing utility that encourages good testing practices. It uses ReactDOM's `render` function and
29-
`act` from `react-dom/tests-utils`. Futhermore, [Native Testing Library (RNTL)](https://testing-library.com/docs/react-native-testing-library/intro)
29+
`act` from `react-dom/tests-utils`. Furthermore, [Native Testing Library (RNTL)](https://testing-library.com/docs/react-native-testing-library/intro)
3030
is the alternative to RTL to test out React Native components. The [Testing Library](https://testing-library.com/)
3131
family of tools also includes adapters for many other popular frameworks.
3232

tests/persistAsync.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ describe('persist middleware with async configuration', () => {
302302
)
303303
})
304304

305-
it('can correclty handle a missing migrate function', async () => {
305+
it('can correctly handle a missing migrate function', async () => {
306306
console.error = vi.fn()
307307
const onRehydrateStorageSpy = vi.fn()
308308
const storage = {

tests/persistSync.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ describe('persist middleware with sync configuration', () => {
168168
expect(onRehydrateStorageSpy).toBeCalledWith({ count: 99 }, undefined)
169169
})
170170

171-
it('can correclty handle a missing migrate function', () => {
171+
it('can correctly handle a missing migrate function', () => {
172172
console.error = vi.fn()
173173
const onRehydrateStorageSpy = vi.fn()
174174
const storage = {

0 commit comments

Comments
 (0)