Skip to content

Commit 460e71c

Browse files
authored
Merge pull request #3825 from hey-api/refactor/test-tanstack-query
test: move tanstack query tests to a separate folder
2 parents f3b6ff3 + 8d89cae commit 460e71c

1,399 files changed

Lines changed: 983 additions & 167080 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

packages/openapi-ts-tests/main/package.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,6 @@
2222
"@hey-api/custom-client": "workspace:*",
2323
"@hey-api/openapi-ts": "workspace:*",
2424
"@pinia/colada": "0.19.1",
25-
"@tanstack/angular-query-experimental": "5.90.25",
26-
"@tanstack/preact-query": "5.93.0",
27-
"@tanstack/react-query": "5.90.21",
28-
"@tanstack/solid-query": "5.90.23",
29-
"@tanstack/svelte-query": "5.90.2",
30-
"@tanstack/vue-query": "5.92.9",
3125
"@types/cross-spawn": "6.0.6",
3226
"ajv": "8.17.1",
3327
"arktype": "2.1.29",

packages/openapi-ts-tests/main/test/3.0.x.test.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -555,14 +555,6 @@ describe(`OpenAPI ${version}`, () => {
555555
}),
556556
description: 'excludes deprecated fields',
557557
},
558-
{
559-
config: createConfig({
560-
input: 'internal-name-conflict.json',
561-
output: 'internal-name-conflict',
562-
plugins: ['@hey-api/client-fetch', '@tanstack/react-query'],
563-
}),
564-
description: 'handles conflict between generated code and internal artifacts',
565-
},
566558
{
567559
config: createConfig({
568560
input: 'operation-204.json',

packages/openapi-ts-tests/main/test/3.1.x.test.ts

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -610,14 +610,6 @@ describe(`OpenAPI ${version}`, () => {
610610
}),
611611
description: 'handles various headers',
612612
},
613-
{
614-
config: createConfig({
615-
input: 'internal-name-conflict.json',
616-
output: 'internal-name-conflict',
617-
plugins: ['@hey-api/client-fetch', '@tanstack/react-query'],
618-
}),
619-
description: 'handles conflict between generated code and internal artifacts',
620-
},
621613
{
622614
config: createConfig({
623615
input: 'negative-property-names.json',
@@ -663,14 +655,6 @@ describe(`OpenAPI ${version}`, () => {
663655
}),
664656
description: 'handles empty response status codes',
665657
},
666-
{
667-
config: createConfig({
668-
input: 'pagination-ref.yaml',
669-
output: 'pagination-ref',
670-
plugins: ['@hey-api/client-fetch', '@tanstack/react-query'],
671-
}),
672-
description: 'detects pagination fields',
673-
},
674658
{
675659
config: createConfig({
676660
input: 'parameter-explode-false.json',
@@ -1017,14 +1001,6 @@ describe(`OpenAPI ${version}`, () => {
10171001
}),
10181002
description: 'client with SSE (Nuxt)',
10191003
},
1020-
{
1021-
config: createConfig({
1022-
input: 'sse-post.yaml',
1023-
output: 'sse-tanstack-react-query',
1024-
plugins: ['@hey-api/client-fetch', '@tanstack/react-query'],
1025-
}),
1026-
description: 'SSE POST endpoint is excluded from TanStack React Query mutations',
1027-
},
10281004
{
10291005
config: createConfig({
10301006
input: 'zoom-video-sdk.json',

packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@tanstack/preact-query/asClass/types.gen.ts

Lines changed: 0 additions & 101 deletions
This file was deleted.

packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@tanstack/preact-query/axios/sdk.gen.ts

Lines changed: 0 additions & 166 deletions
This file was deleted.

0 commit comments

Comments
 (0)