Skip to content

Commit fdf5a54

Browse files
authored
test(svelte-query-persist-client): remove unnecessary async (#9027)
1 parent 522b081 commit fdf5a54

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/svelte-query-persist-client/tests/PersistQueryClientProvider.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const createMockPersister = (): Persister => {
2222
let storedState: PersistedClient | undefined
2323

2424
return {
25-
async persistClient(persistClient: PersistedClient) {
25+
persistClient(persistClient: PersistedClient) {
2626
storedState = persistClient
2727
},
2828
async restoreClient() {

packages/svelte-query/tests/useMutationState/useMutationState.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { fireEvent, render, waitFor } from '@testing-library/svelte'
33
import BaseExample from './BaseExample.svelte'
44

55
describe('useMutationState', () => {
6-
test('Run few mutation functions and check from useMutationState ', async () => {
6+
test('Run few mutation functions and check from useMutationState', async () => {
77
const successMutationFn = vi.fn()
88

99
const errorMutationFn = vi.fn().mockImplementation(() => {

0 commit comments

Comments
 (0)