Skip to content

fix(core): don't consider queries as enabled if they have no observer…

Codecov / codecov/project succeeded Oct 10, 2024 in 0s

62.11% (+62.11%) compared to e3aca98

View this Pull Request on Codecov

62.11% (+62.11%) compared to e3aca98

Details

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 62.11%. Comparing base (e3aca98) to head (0d3c889).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##           main    #8161       +/-   ##
=========================================
+ Coverage      0   62.11%   +62.11%     
=========================================
  Files         0      136      +136     
  Lines         0     4762     +4762     
  Branches      0     1336     +1336     
=========================================
+ Hits          0     2958     +2958     
- Misses        0     1564     +1564     
- Partials      0      240      +240     
Components Coverage Δ
@tanstack/angular-query-devtools-experimental ∅ <ø> (∅)
@tanstack/angular-query-experimental 86.58% <ø> (∅)
@tanstack/eslint-plugin-query ∅ <ø> (∅)
@tanstack/query-async-storage-persister 43.85% <ø> (∅)
@tanstack/query-broadcast-client-experimental ∅ <ø> (∅)
@tanstack/query-codemods ∅ <ø> (∅)
@tanstack/query-core 93.14% <100.00%> (∅)
@tanstack/query-devtools 4.79% <ø> (∅)
@tanstack/query-persist-client-core 57.73% <ø> (∅)
@tanstack/query-sync-storage-persister 82.50% <ø> (∅)
@tanstack/react-query 93.12% <ø> (∅)
@tanstack/react-query-devtools 10.00% <ø> (∅)
@tanstack/react-query-next-experimental ∅ <ø> (∅)
@tanstack/react-query-persist-client 100.00% <ø> (∅)
@tanstack/solid-query 78.20% <ø> (∅)
@tanstack/solid-query-devtools ∅ <ø> (∅)
@tanstack/solid-query-persist-client 100.00% <ø> (∅)
@tanstack/svelte-query 87.33% <ø> (∅)
@tanstack/svelte-query-devtools ∅ <ø> (∅)
@tanstack/svelte-query-persist-client 100.00% <ø> (∅)
@tanstack/vue-query 71.51% <ø> (∅)
@tanstack/vue-query-devtools ∅ <ø> (∅)