Skip to content

Commit f872178

Browse files
committed
test title language
1 parent 03f6bf0 commit f872178

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

packages/query-core/src/__tests__/queryClient.test.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1062,7 +1062,7 @@ describe('queryClient', () => {
10621062
expect(result).toBe('CACHED-DATA')
10631063
})
10641064

1065-
test('should throw when enabled resolves true and skipToken are provided with no cached data', async () => {
1065+
test('should throw when enabled is true and skipToken are provided with no cached data', async () => {
10661066
await expect(
10671067
queryClient.query({
10681068
queryKey: queryKey(),
@@ -1072,7 +1072,7 @@ describe('queryClient', () => {
10721072
).rejects.toThrowError()
10731073
})
10741074

1075-
test('should return cached data when enabled resolves false and skipToken are provided', async () => {
1075+
test('should return cached data when enabled is false and skipToken are provided', async () => {
10761076
const key1 = queryKey()
10771077
queryClient.setQueryData(key1, { value: 'cached-data' })
10781078

@@ -1502,7 +1502,7 @@ describe('queryClient', () => {
15021502
expect(select).not.toHaveBeenCalled()
15031503
})
15041504

1505-
test('should throw when enabled resolves true and skipToken are provided with no cached data', async () => {
1505+
test('should throw when enabled is true and skipToken are provided with no cached data', async () => {
15061506
await expect(
15071507
queryClient.infiniteQuery({
15081508
queryKey: queryKey(),

0 commit comments

Comments
 (0)