Skip to content

Commit eec2abe

Browse files
authored
test(query-persist-client-core/createPersister): fix typo 'persiste' to 'persist' and 'persistance' to 'persistence' (#10548)
1 parent fc8a6a9 commit eec2abe

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

packages/query-persist-client-core/src/__tests__/createPersister.test.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ describe('createPersister', () => {
436436
})
437437

438438
describe('persistQuery', () => {
439-
it('Should properly persiste basic query', async () => {
439+
it('Should properly persist basic query', async () => {
440440
const storage = getFreshStorage()
441441
const { persister, query, queryHash, queryKey, storageKey } =
442442
setupPersister(['foo'], {
@@ -458,7 +458,7 @@ describe('createPersister', () => {
458458
})
459459
})
460460

461-
it('Should skip persistance if storage is not provided', async () => {
461+
it('Should skip persistence if storage is not provided', async () => {
462462
const serializeMock = vi.fn()
463463
const { persister, query } = setupPersister(['foo'], {
464464
storage: null,
@@ -473,7 +473,7 @@ describe('createPersister', () => {
473473
})
474474

475475
describe('persistQueryByKey', () => {
476-
it('Should skip persistance if storage is not provided', async () => {
476+
it('Should skip persistence if storage is not provided', async () => {
477477
const serializeMock = vi.fn()
478478
const { persister, client, queryKey } = setupPersister(['foo'], {
479479
storage: null,
@@ -486,7 +486,7 @@ describe('createPersister', () => {
486486
expect(serializeMock).toHaveBeenCalledTimes(0)
487487
})
488488

489-
it('should skip persistance if query was not found', async () => {
489+
it('should skip persistence if query was not found', async () => {
490490
const serializeMock = vi.fn()
491491
const storage = getFreshStorage()
492492
const { client, persister, queryKey } = setupPersister(['foo'], {
@@ -500,7 +500,7 @@ describe('createPersister', () => {
500500
expect(serializeMock).toHaveBeenCalledTimes(0)
501501
})
502502

503-
it('Should properly persiste basic query', async () => {
503+
it('Should properly persist basic query', async () => {
504504
const storage = getFreshStorage()
505505
const { persister, client, queryHash, queryKey, storageKey } =
506506
setupPersister(['foo'], {

0 commit comments

Comments
 (0)