test(angular-query-experimental/injectQueries): switch to fake timers, replace 'setTimeout' with 'sleep', replace 'findByText' with 'getByText', add 'toBeInTheDocument', remove unused 'toString' method, rename '_pushResults' to '_', and add '@testing-library/jest-dom/vitest' #9896
+22
−17
Codecov / codecov/project
succeeded
Dec 31, 2025 in 1s
94.13% (+48.30%) compared to f616474
View this Pull Request on Codecov
94.13% (+48.30%) compared to f616474
Details
Codecov Report
✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.13%. Comparing base (f616474) to head (37f1af7).
Additional details and impacted files
@@ Coverage Diff @@
## main #9896 +/- ##
===========================================
+ Coverage 45.82% 94.13% +48.30%
===========================================
Files 200 21 -179
Lines 8525 426 -8099
Branches 1977 99 -1878
===========================================
- Hits 3907 401 -3506
+ Misses 4158 24 -4134
+ Partials 460 1 -459 | Components | Coverage Δ | |
|---|---|---|
| @tanstack/angular-query-experimental | 93.85% <ø> (ø) |
|
| @tanstack/eslint-plugin-query | ∅ <ø> (∅) |
|
| @tanstack/query-async-storage-persister | ∅ <ø> (∅) |
|
| @tanstack/query-broadcast-client-experimental | ∅ <ø> (∅) |
|
| @tanstack/query-codemods | ∅ <ø> (∅) |
|
| @tanstack/query-core | ∅ <ø> (∅) |
|
| @tanstack/query-devtools | ∅ <ø> (∅) |
|
| @tanstack/query-persist-client-core | ∅ <ø> (∅) |
|
| @tanstack/query-sync-storage-persister | ∅ <ø> (∅) |
|
| @tanstack/query-test-utils | ∅ <ø> (∅) |
|
| @tanstack/react-query | ∅ <ø> (∅) |
|
| @tanstack/react-query-devtools | ∅ <ø> (∅) |
|
| @tanstack/react-query-next-experimental | ∅ <ø> (∅) |
|
| @tanstack/react-query-persist-client | ∅ <ø> (∅) |
|
| @tanstack/solid-query | ∅ <ø> (∅) |
|
| @tanstack/solid-query-devtools | ∅ <ø> (∅) |
|
| @tanstack/solid-query-persist-client | ∅ <ø> (∅) |
|
| @tanstack/svelte-query | ∅ <ø> (∅) |
|
| @tanstack/svelte-query-devtools | ∅ <ø> (∅) |
|
| @tanstack/svelte-query-persist-client | ∅ <ø> (∅) |
|
| @tanstack/vue-query | ∅ <ø> (∅) |
|
| @tanstack/vue-query-devtools | ∅ <ø> (∅) |
🚀 New features to boost your workflow:
- ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
- 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
Loading