Skip to content

Commit d7f1621

Browse files
sukvvonmanudeli
andauthored
test(svelte-query/useIsMutating): replace incorrect usage of 'fetching' with 'mutating' (#9424)
Co-authored-by: Jonghyeon Ko <manudeli.ko@gmail.com>
1 parent d5a4d35 commit d7f1621

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { afterEach, beforeEach, describe, expect, test, vi } from 'vitest'
22
import { fireEvent, render } from '@testing-library/svelte'
33
import BaseExample from './BaseExample.svelte'
44

5-
describe('useIsFetching', () => {
5+
describe('useIsMutating', () => {
66
beforeEach(() => {
77
vi.useFakeTimers()
88
})
@@ -11,7 +11,7 @@ describe('useIsFetching', () => {
1111
vi.useRealTimers()
1212
})
1313

14-
test('should update as queries start and stop fetching', async () => {
14+
test('should update as queries start and stop mutating', async () => {
1515
const rendered = render(BaseExample)
1616

1717
expect(rendered.getByText('isMutating: 0')).toBeInTheDocument()

0 commit comments

Comments
 (0)