TanStack / query

🤖 Powerful asynchronous state management, server-state utilities and data fetching for the web. TS/JS, React Query, Solid Query, Svelte Query and Vue Query.
https://tanstack.com/query
MIT License
42.72k stars 2.93k forks source link

test(react-query): update describe in `infiniteQueryOptions.test-d.tsx` #8081

Closed gwansikk closed 1 month ago

gwansikk commented 2 months ago

update describe in infiniteQueryOptions.test-d.tsx from queryOptions to infiniteQueryOptions.

nx-cloud[bot] commented 2 months ago

☁️ Nx Cloud Report

CI is running/has finished running commands for commit a202803d2597a2f9bbf7798a3ce6c8fb5443668b. 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


✅ Successfully ran 2 targets - [`nx affected --targets=test:sherif,test:knip,test:eslint,test:lib,test:types,test:build,build --parallel=3`](https://cloud.nx.app/runs/aoXqLVetMw?utm_source=pull-request&utm_medium=comment) - [`nx run-many --target=build --exclude=examples/** --exclude=integrations/**`](https://cloud.nx.app/runs/PpmBYDMFT4?utm_source=pull-request&utm_medium=comment)

Sent with 💌 from NxCloud.

pkg-pr-new[bot] commented 2 months ago

Open in Stackblitz

More templates

- [@tanstack/query-example-solid-astro](https://pkg.pr.new/template/ea766b13-51e5-472d-9353-2943176c770d) - [@tanstack/query-example-solid-basic](https://pkg.pr.new/template/7fa5b5dc-0442-4992-bbaa-7c14ff8d24e7) - [@tanstack/query-example-solid-basic-graphql-request](https://pkg.pr.new/template/de35697c-984b-4d2b-973a-46e2b7953ec7) - [@tanstack/query-example-solid-default-query-function](https://pkg.pr.new/template/91d0aa20-ad25-4046-af53-a68c65754147) - [@tanstack/query-example-solid-simple](https://pkg.pr.new/template/3bc2e3f0-2434-46bf-80dc-e29dc55d959f) - [@tanstack/query-example-solid-start-streaming](https://pkg.pr.new/template/adf69921-cd0b-48d5-93fa-49b6e4ea5121) - [@tanstack/query-example-react-algolia](https://pkg.pr.new/template/7cc9d9b0-63cb-4a69-9184-6518baefb79e) - [@tanstack/query-example-react-auto-refetching](https://pkg.pr.new/template/0462c3eb-5de2-4b4a-9121-ce3e3cea1244) - [@tanstack/query-example-react-basic](https://pkg.pr.new/template/cbcb632f-4894-49eb-af06-046266df68a0) - [@tanstack/query-example-react-basic-graphql-request](https://pkg.pr.new/template/4513c28a-c77b-4723-8a64-33a1ca1f232e) - [@tanstack/query-example-react-default-query-function](https://pkg.pr.new/template/39b15f8b-781a-4913-8138-329756d21d28) - [@tanstack/query-example-react-devtools-panel](https://pkg.pr.new/template/570040d3-44da-479c-b391-9a57197fa295) - [@tanstack/query-example-react-infinite-query-with-max-pages](https://pkg.pr.new/template/df1e3528-1d29-4b82-adbd-17c7444261ae) - [@tanstack/query-example-react-load-more-infinite-scroll](https://pkg.pr.new/template/49ec280a-95cb-4e4d-9753-cccf44674922) - [@tanstack/query-example-react-nextjs](https://pkg.pr.new/template/496c8300-2b18-4170-9b1a-dabcec0c61b6) - [@tanstack/query-example-react-nextjs-app-prefetching](https://pkg.pr.new/template/1b1bc2dc-e1b8-4af5-8f1c-0eaa0441d28d) - [@tanstack/query-example-nextjs-suspense-streaming](https://pkg.pr.new/template/a3355959-b51f-40f9-8374-ff73bc32082a) - [@tanstack/query-example-react-offline](https://pkg.pr.new/template/a81ce43d-f1af-4db7-84c0-a8dabf467bdc) - [@tanstack/query-example-react-optimistic-updates-cache](https://pkg.pr.new/template/a9bef14c-4349-4eee-bd4f-5121b6a6993b) - [@tanstack/query-example-react-optimistic-updates-ui](https://pkg.pr.new/template/b6c3c89d-1a6f-4d87-8680-df75ca743708) - [@tanstack/query-example-react-pagination](https://pkg.pr.new/template/b90c6783-aa7c-441c-8ffb-6880e5244760) - [@tanstack/query-example-react-playground](https://pkg.pr.new/template/16c1364a-1043-42e0-8a6a-d4dc8ef500f6) - [@tanstack/query-example-react-prefetching](https://pkg.pr.new/template/a371be46-d4c5-454f-81d0-357603b6d7b7) - [@tanstack/query-example-react-react-native](https://pkg.pr.new/template/007d7d06-5207-49e9-8c7d-2665b7c71670) - [@tanstack/query-example-react-router](https://pkg.pr.new/template/4a9b1ca8-a6af-4902-b026-72ba6df14a69) - [@tanstack/query-example-react-rick-morty](https://pkg.pr.new/template/0ee8165a-d437-4fa5-bb53-c0b8139bcc29) - [@tanstack/query-example-react-shadow-dom](https://pkg.pr.new/template/fcbc6d54-ba2b-45c0-8096-bb20d14f999b) - [@tanstack/query-example-react-simple](https://pkg.pr.new/template/16a6dde4-074a-433e-a2de-36f26bcb2cdc) - [@tanstack/query-example-react-star-wars](https://pkg.pr.new/template/42e08951-07ad-4383-8831-bd8926ea4b25) - [@tanstack/query-example-react-suspense](https://pkg.pr.new/template/6097431a-f89a-43cf-83f9-2d0221023cbe) - [@tanstack/query-example-svelte-auto-refetching](https://pkg.pr.new/template/6d8e4e16-3c68-4276-a671-d4c10164b0b3) - [@tanstack/query-example-svelte-basic](https://pkg.pr.new/template/af3b5a59-5797-40b0-af0a-0a6795486c65) - [@tanstack/query-example-svelte-load-more-infinite-scroll](https://pkg.pr.new/template/019a5e26-49a0-40d7-9a62-244fbb79dbe5) - [@tanstack/query-example-svelte-optimistic-updates](https://pkg.pr.new/template/e5bfbf4b-94f1-433b-9729-633f37eb39f0) - [@tanstack/query-example-svelte-playground](https://pkg.pr.new/template/ab3a4346-c380-40d9-8d8d-2019a333d890) - [@tanstack/query-example-svelte-simple](https://pkg.pr.new/template/825aa6a8-0c63-44c1-819e-87065e069f58) - [@tanstack/query-example-svelte-ssr](https://pkg.pr.new/template/c78d6dec-5fad-4670-a90b-6e12434dd9f0) - [@tanstack/query-example-svelte-star-wars](https://pkg.pr.new/template/af4008ee-5aec-4be6-94bd-21146692f252) - [@tanstack/query-example-vue-2.6-basic](https://pkg.pr.new/template/1b5aafcc-95df-4ab1-b289-f7fc838b922e) - [@tanstack/query-example-vue-2.7-basic](https://pkg.pr.new/template/beab69b5-afb2-44c5-b9be-1bd285f7eda6) - [@tanstack/query-example-vue-basic](https://pkg.pr.new/template/6a9e7308-788c-4c93-8f06-23a67aa1d34a) - [@tanstack/query-example-vue-dependent-queries](https://pkg.pr.new/template/a722c812-e12a-45c9-90e6-0a6c54ae8979) - [@tanstack/query-example-vue-nuxt3](https://pkg.pr.new/template/8d961218-36b0-4b7b-9dd9-afed73a7098c) - [@tanstack/query-example-vue-persister](https://pkg.pr.new/template/997ca321-7675-41c5-bed8-7d356b2291ba) - [@tanstack/query-example-vue-simple](https://pkg.pr.new/template/431a68a2-26a2-4e5b-98c0-e33e06a68294) - [@tanstack/query-example-angular-basic](https://pkg.pr.new/template/6e446973-c3c5-4df6-a152-15d4891feb26) - [@tanstack/query-example-angular-infinite-query-with-max-pages](https://pkg.pr.new/template/ecb8a369-c638-4982-98a8-bc594f52e2d4) - [@tanstack/query-example-angular-pagination](https://pkg.pr.new/template/892cd266-96bf-4624-9eeb-747f22efb36c) - [@tanstack/query-example-angular-router](https://pkg.pr.new/template/534ad4ac-fdd2-48fa-bfc2-a2c98e5e1fff) - [@tanstack/query-example-angular-rxjs](https://pkg.pr.new/template/69b63753-e485-4086-8d79-5b3623fa678d) - [@tanstack/query-example-angular-simple](https://pkg.pr.new/template/78b01600-0819-42ce-b95b-dd4a925851b8)

@tanstack/angular-query-experimental

``` pnpm add https://pkg.pr.new/@tanstack/angular-query-experimental@8081 ```

@tanstack/angular-query-devtools-experimental

``` pnpm add https://pkg.pr.new/@tanstack/angular-query-devtools-experimental@8081 ```

@tanstack/eslint-plugin-query

``` pnpm add https://pkg.pr.new/@tanstack/eslint-plugin-query@8081 ```

@tanstack/query-async-storage-persister

``` pnpm add https://pkg.pr.new/@tanstack/query-async-storage-persister@8081 ```

@tanstack/query-broadcast-client-experimental

``` pnpm add https://pkg.pr.new/@tanstack/query-broadcast-client-experimental@8081 ```

@tanstack/query-core

``` pnpm add https://pkg.pr.new/@tanstack/query-core@8081 ```

@tanstack/query-devtools

``` pnpm add https://pkg.pr.new/@tanstack/query-devtools@8081 ```

@tanstack/query-persist-client-core

``` pnpm add https://pkg.pr.new/@tanstack/query-persist-client-core@8081 ```

@tanstack/react-query

``` pnpm add https://pkg.pr.new/@tanstack/react-query@8081 ```

@tanstack/query-sync-storage-persister

``` pnpm add https://pkg.pr.new/@tanstack/query-sync-storage-persister@8081 ```

@tanstack/react-query-devtools

``` pnpm add https://pkg.pr.new/@tanstack/react-query-devtools@8081 ```

@tanstack/react-query-next-experimental

``` pnpm add https://pkg.pr.new/@tanstack/react-query-next-experimental@8081 ```

@tanstack/react-query-persist-client

``` pnpm add https://pkg.pr.new/@tanstack/react-query-persist-client@8081 ```

@tanstack/solid-query

``` pnpm add https://pkg.pr.new/@tanstack/solid-query@8081 ```

@tanstack/solid-query-devtools

``` pnpm add https://pkg.pr.new/@tanstack/solid-query-devtools@8081 ```

@tanstack/solid-query-persist-client

``` pnpm add https://pkg.pr.new/@tanstack/solid-query-persist-client@8081 ```

@tanstack/svelte-query

``` pnpm add https://pkg.pr.new/@tanstack/svelte-query@8081 ```

@tanstack/svelte-query-devtools

``` pnpm add https://pkg.pr.new/@tanstack/svelte-query-devtools@8081 ```

@tanstack/svelte-query-persist-client

``` pnpm add https://pkg.pr.new/@tanstack/svelte-query-persist-client@8081 ```

@tanstack/vue-query-devtools

``` pnpm add https://pkg.pr.new/@tanstack/vue-query-devtools@8081 ```

@tanstack/vue-query

``` pnpm add https://pkg.pr.new/@tanstack/vue-query@8081 ```

commit: a202803

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 81.89%. Comparing base (2fe16e5) to head (a202803). Report is 20 commits behind head on main.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/TanStack/query/pull/8081/graphs/tree.svg?width=650&height=150&src=pr&token=jqEbswkEDQ&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TanStack)](https://app.codecov.io/gh/TanStack/query/pull/8081?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TanStack) ```diff @@ Coverage Diff @@ ## main #8081 +/- ## =========================================== + Coverage 45.41% 81.89% +36.48% =========================================== Files 200 26 -174 Lines 7456 359 -7097 Branches 1696 99 -1597 =========================================== - Hits 3386 294 -3092 + Misses 3694 56 -3638 + Partials 376 9 -367 ``` | [Components](https://app.codecov.io/gh/TanStack/query/pull/8081/components?src=pr&el=components&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TanStack) | Coverage Δ | | |---|---|---| | [@tanstack/angular-query-devtools-experimental](https://app.codecov.io/gh/TanStack/query/pull/8081/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TanStack) | `∅ <ø> (∅)` | | | [@tanstack/angular-query-experimental](https://app.codecov.io/gh/TanStack/query/pull/8081/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TanStack) | `∅ <ø> (∅)` | | | [@tanstack/eslint-plugin-query](https://app.codecov.io/gh/TanStack/query/pull/8081/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TanStack) | `∅ <ø> (∅)` | | | [@tanstack/query-async-storage-persister](https://app.codecov.io/gh/TanStack/query/pull/8081/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TanStack) | `∅ <ø> (∅)` | | | [@tanstack/query-broadcast-client-experimental](https://app.codecov.io/gh/TanStack/query/pull/8081/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TanStack) | `∅ <ø> (∅)` | | | [@tanstack/query-codemods](https://app.codecov.io/gh/TanStack/query/pull/8081/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TanStack) | `∅ <ø> (∅)` | | | [@tanstack/query-core](https://app.codecov.io/gh/TanStack/query/pull/8081/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TanStack) | `∅ <ø> (∅)` | | | [@tanstack/query-devtools](https://app.codecov.io/gh/TanStack/query/pull/8081/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TanStack) | `∅ <ø> (∅)` | | | [@tanstack/query-persist-client-core](https://app.codecov.io/gh/TanStack/query/pull/8081/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TanStack) | `∅ <ø> (∅)` | | | [@tanstack/query-sync-storage-persister](https://app.codecov.io/gh/TanStack/query/pull/8081/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TanStack) | `∅ <ø> (∅)` | | | [@tanstack/react-query](https://app.codecov.io/gh/TanStack/query/pull/8081/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TanStack) | `93.12% <100.00%> (ø)` | | | [@tanstack/react-query-devtools](https://app.codecov.io/gh/TanStack/query/pull/8081/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TanStack) | `10.00% <ø> (ø)` | | | [@tanstack/react-query-next-experimental](https://app.codecov.io/gh/TanStack/query/pull/8081/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TanStack) | `∅ <ø> (∅)` | | | [@tanstack/react-query-persist-client](https://app.codecov.io/gh/TanStack/query/pull/8081/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TanStack) | `100.00% <ø> (ø)` | | | [@tanstack/solid-query](https://app.codecov.io/gh/TanStack/query/pull/8081/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TanStack) | `∅ <ø> (∅)` | | | [@tanstack/solid-query-devtools](https://app.codecov.io/gh/TanStack/query/pull/8081/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TanStack) | `∅ <ø> (∅)` | | | [@tanstack/solid-query-persist-client](https://app.codecov.io/gh/TanStack/query/pull/8081/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TanStack) | `∅ <ø> (∅)` | | | [@tanstack/svelte-query](https://app.codecov.io/gh/TanStack/query/pull/8081/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TanStack) | `∅ <ø> (∅)` | | | [@tanstack/svelte-query-devtools](https://app.codecov.io/gh/TanStack/query/pull/8081/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TanStack) | `∅ <ø> (∅)` | | | [@tanstack/svelte-query-persist-client](https://app.codecov.io/gh/TanStack/query/pull/8081/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TanStack) | `∅ <ø> (∅)` | | | [@tanstack/vue-query](https://app.codecov.io/gh/TanStack/query/pull/8081/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TanStack) | `∅ <ø> (∅)` | | | [@tanstack/vue-query-devtools](https://app.codecov.io/gh/TanStack/query/pull/8081/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TanStack) | `∅ <ø> (∅)` | |