Skip to content

Commit

Permalink
Merge pull request TanStack#1 from lukesmurray/luke/test-support
Browse files Browse the repository at this point in the history
add test support and query client provider tests
  • Loading branch information
ardeora authored Sep 8, 2022
2 parents d0c974f + 1aa75bf commit c541037
Show file tree
Hide file tree
Showing 10 changed files with 880 additions and 45 deletions.
3 changes: 2 additions & 1 deletion jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const moduleNameMapper = {
module.exports = {
collectCoverage: true,
coverageReporters: ['json', 'lcov', 'text', 'clover', 'text-summary'],
projects: packages.map((d) => ({
projects: packages.map((d: string) => ({
displayName: d,
clearMocks: true,
testEnvironment: 'jsdom',
Expand All @@ -34,5 +34,6 @@ module.exports = {
printBasicPrototype: false,
},
moduleNameMapper,
preset: d.includes("solid") ? 'solid-jest/preset/browser' : undefined,
})),
}
Loading

0 comments on commit c541037

Please sign in to comment.