fix: allow exporting custom client fetch function in react-query #602
Annotations
10 errors and 4 warnings
error: expect(received).toMatchInlineSnapshot(expected):
packages/core/src/FileManager.test.ts#L102
Expected:
[
{
"value": "const file1 ='file1';",
},
{
"value": "const file1Bis ='file1Bis';",
},
]
Received:
[
{
"value": "const file1 ='file1';",
},
{
"value": "const file1Bis ='file1Bis';",
},
]
at <anonymous> (/home/runner/work/kubb/kubb/packages/core/src/FileManager.test.ts:102:26)
|
TypeError: expect(JSON.stringify(files:
packages/core/src/FileManager.test.ts#L232
at <anonymous> (/home/runner/work/kubb/kubb/packages/core/src/FileManager.test.ts:232:55)
|
TypeError: expect(JSON.stringify(fileManager.files:
packages/core/src/FileManager.test.ts#L311
at <anonymous> (/home/runner/work/kubb/kubb/packages/core/src/FileManager.test.ts:311:67)
|
TypeError: expect(JSON.stringify(files:
packages/core/src/FileManager.test.ts#L353
at <anonymous> (/home/runner/work/kubb/kubb/packages/core/src/FileManager.test.ts:353:55)
|
error: expect(received).toMatchInlineSnapshot(expected):
packages/core/src/FileManager.test.ts#L540
Expected:
[
{
"isExportable": undefined,
"isIndexable": undefined,
"isTypeOnly": false,
"name": "test",
"value": "const test = 3",
},
{
"isTypeOnly": false,
"name": "Test",
"value": "type Test = 2",
},
]
Received:
[
{
"isExportable": undefined,
"isIndexable": undefined,
"isTypeOnly": false,
"name": "test",
"value": "const test = 3",
},
{
"isTypeOnly": false,
"name": "Test",
"value": "type Test = 2",
},
]
at <anonymous> (/home/runner/work/kubb/kubb/packages/core/src/FileManager.test.ts:540:37)
|
error: expect(received).toMatchInlineSnapshot(expected):
packages/core/src/FileManager.test.ts#L577
Expected:
[
{
"isTypeOnly": true,
"name": undefined,
"path": "./models",
},
{
"asAlias": true,
"isTypeOnly": false,
"name": "test",
"path": "./models",
},
]
Received:
[
{
"isTypeOnly": true,
"name": undefined,
"path": "./models",
},
{
"asAlias": true,
"isTypeOnly": false,
"name": "test",
"path": "./models",
},
]
at <anonymous> (/home/runner/work/kubb/kubb/packages/core/src/FileManager.test.ts:577:37)
|
error: expect(received).toMatchInlineSnapshot(expected):
packages/core/src/FileManager.test.ts#L613
Expected:
[
{
"isTypeOnly": true,
"name": "models",
"path": "./models",
},
{
"isTypeOnly": true,
"name": [
"Config",
],
"path": "./models",
},
]
Received:
[
{
"isTypeOnly": true,
"name": "models",
"path": "./models",
},
{
"isTypeOnly": true,
"name": [
"Config",
],
"path": "./models",
},
]
at <anonymous> (/home/runner/work/kubb/kubb/packages/core/src/FileManager.test.ts:613:85)
|
error: expect(received).toMatchInlineSnapshot(expected):
packages/core/src/BarrelManager.test.ts#L114
Expected:
[
{
"baseName": "index.ts",
"exports": [
{
"isTypeOnly": undefined,
"name": [
"test",
],
"path": "./test.ts",
},
{
"isTypeOnly": undefined,
"name": [
"hello",
],
"path": "./sub/hello.ts",
},
{
"isTypeOnly": undefined,
"name": [
"world",
],
"path": "./sub/world.ts",
},
{
"isTypeOnly": undefined,
"name": [
"world",
],
"path": "./sub/index.ts",
},
{
"isTypeOnly": undefined,
"name": [
"hello",
],
"path": "./sub/index.ts",
},
],
"path": "src/index.ts",
"sources": [
{
"isExportable": false,
"isIndexable": false,
"isTypeOnly": undefined,
"name": "test",
"value": "",
},
{
"isExportable": false,
"isIndexable": false,
"isTypeOnly": undefined,
"name": "hello",
"value": "",
},
{
"isExportable": false,
"isIndexable": false,
"isTypeOnly": undefined,
"name": "world",
"value": "",
},
{
"isExportable": false,
"isIndexable": false,
"isTypeOnly": undefined,
"name": "world",
"value": "",
},
{
"isExportable": false,
"isIndexable": false,
"isTypeOnly": undefined,
"name": "hello",
"value": "",
},
],
},
{
"baseName": "index.ts",
"exports": [
{
"isTypeOnly": undefined,
"name": [
"hello",
],
"path": "./hello.ts",
},
{
"isTypeOnly": undefined,
"name": [
"world",
],
"path": "./world.ts",
},
],
"path": "src/sub/index.ts",
"sources": [
{
"isExportable": false,
"isIndexable": false,
"isTypeOnly": undefined,
"name": "hello",
"value": "",
},
{
"isExportable": false,
"isIndexable": false,
"isTypeOnly": undefined,
"name": "world",
"value": "",
},
],
},
]
Received:
[
{
"baseName": "index.ts",
"exports": [
{
"isTypeOnly": undefined,
"name": [
"test",
],
"path": "./test.ts",
},
{
"isTypeOnly": undefined,
"name": [
"hello",
],
"path": "./sub/hello.ts",
},
{
"isTypeOnly": undefined,
"name": [
"world",
],
"path": "./sub/world.ts",
},
{
"isTypeOnly": undefined,
"name": [
"world",
],
"path": "./sub/index.ts",
},
{
"isTypeOnly": undefined,
"name": [
"hello",
],
"path": "./sub/index.ts",
},
],
"path": "src/index.ts",
"sources": [
{
"isExportable": false,
"isIndexable": false,
"isTypeOnly": undefined,
"name": "test",
"value": "",
},
{
"isExportable": false,
"isIndexable": false,
"isTypeOnly": undefined,
"name": "hello",
"value": "",
},
{
"isExportable": false,
"isIndexable":
|
error: expect(received).toMatchInlineSnapshot(expected):
packages/core/src/build.test.ts#L71
Expected:
[
{
"baseName": "world.json",
"exports": [],
"extname": ".json",
"id": undefined,
"imports": [],
"meta": {},
"name": "world",
"path": undefined,
"sources": [
{
"value": "export const hello = 'world';",
},
],
},
{
"baseName": "index.ts",
"exports": [],
"extname": ".ts",
"id": undefined,
"imports": [],
"meta": {},
"name": "index",
"path": undefined,
"sources": [],
},
]
Received:
[
{
"baseName": "world.json",
"exports": [],
"extname": ".json",
"id": undefined,
"imports": [],
"meta": {},
"name": "world",
"path": undefined,
"sources": [
{
"value": "export const hello = 'world';",
},
],
},
{
"baseName": "index.ts",
"exports": [],
"extname": ".ts",
"id": undefined,
"imports": [],
"meta": {},
"name": "index",
"path": undefined,
"sources": [],
},
]
at <anonymous> (/home/runner/work/kubb/kubb/packages/core/src/build.test.ts:71:80)
|
ReferenceError: Can't find variable: describe:
packages/react/src/components/File.test.tsx#L5
at /home/runner/work/kubb/kubb/packages/react/src/components/File.test.tsx:5:1
|
Build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Linting
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Typecheck
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|