Skip to content

Commit

Permalink
test(react-query): better query-persist-client-core import (#8212)
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlancollins authored Oct 24, 2024
1 parent caf6556 commit 1865f0d
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 9 deletions.
1 change: 1 addition & 0 deletions packages/react-query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
"@tanstack/query-core": "workspace:*"
},
"devDependencies": {
"@tanstack/query-persist-client-core": "workspace:*",
"@types/react": "npm:types-react@rc",
"@types/react-dom": "npm:types-react-dom@rc",
"@vitejs/plugin-react": "^4.3.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ import { describe, expect, it, vi } from 'vitest'
import { waitFor } from '@testing-library/react'
import * as React from 'react'
import { QueryCache, hashKey } from '@tanstack/query-core'
import { useQuery } from '..'
import {
PERSISTER_KEY_PREFIX,
experimental_createPersister,
} from '../../../query-persist-client-core/src'
} from '@tanstack/query-persist-client-core'
import { useQuery } from '..'
import { createQueryClient, queryKey, renderWithClient, sleep } from './utils'

describe('fine grained persister', () => {
Expand Down
23 changes: 16 additions & 7 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1865f0d

Please sign in to comment.