Skip to content

Update Jest config to support React Query#22

Merged
drichar merged 1 commit into
developmentfrom
fix/alg-147-jest-config
Jun 20, 2021
Merged

Update Jest config to support React Query#22
drichar merged 1 commit into
developmentfrom
fix/alg-147-jest-config

Conversation

@drichar

@drichar drichar commented Jun 20, 2021

Copy link
Copy Markdown
Contributor

This fixes two issues with Jest caused by introducing React Query.

  1. Adds QueryClientProvider to our providers in test/test-utils.js
  2. Changes moduleDirectories option in Jest config due to a bug explained here: [legacy-framework] (newapp) Fix tests not working out of box blitz-js/blitz#1323

Closes ALG-147

@vercel

vercel Bot commented Jun 20, 2021

Copy link
Copy Markdown

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/algodex/algodex-react/T38XaTVPVSNpzi4NGEbDuCDjLPxn
✅ Preview: https://algodex-react-git-fix-alg-147-jest-config-algodex.vercel.app

@linear

linear Bot commented Jun 20, 2021

Copy link
Copy Markdown

@drichar drichar merged commit 1056415 into development Jun 20, 2021
@drichar drichar deleted the fix/alg-147-jest-config branch June 20, 2021 07:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant