-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test(react-query-devtools): add test case for not in process.env.NODE_ENV='development'
#6940
test(react-query-devtools): add test case for not in process.env.NODE_ENV='development'
#6940
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
☁️ Nx Cloud ReportCI is running/has finished running commands for commit 6263ec7. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this CI Pipeline Execution
Sent with 💌 from NxCloud. |
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 6263ec7:
|
Codecov Report
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #6940 +/- ##
==========================================
+ Coverage 41.29% 41.33% +0.04%
==========================================
Files 180 180
Lines 7193 7193
Branches 1454 1454
==========================================
+ Hits 2970 2973 +3
+ Misses 3836 3834 -2
+ Partials 387 386 -1 |
packages/react-query-devtools/src/__tests__/production.test.tsx
Outdated
Show resolved
Hide resolved
process.env.NODE_ENV='development'
not In process.env.NODE_ENV='development', ReactDevTools of @tanstack/react-query-devtools should be return null.
so I added test case for it.