docs: update plugin-oas no output config in basic tutorial #582
Annotations
10 errors and 4 warnings
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/FileManager.test.ts#L102
Expected:
[
{
"value": "const file1 ='file1';",
},
{
"value": "const file1Bis ='file1Bis';",
},
]
Received:
[
{
"value": "const file1 ='file1';",
},
{
"value": "const file1Bis ='file1Bis';",
},
]
at /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 /home/runner/work/kubb/kubb/packages/core/src/FileManager.test.ts:232:49
|
TypeError: expect(JSON.stringify(fileManager.files:
packages/core/src/FileManager.test.ts#L311
at /home/runner/work/kubb/kubb/packages/core/src/FileManager.test.ts:311:61
|
TypeError: expect(JSON.stringify(files:
packages/core/src/FileManager.test.ts#L353
at /home/runner/work/kubb/kubb/packages/core/src/FileManager.test.ts:353:49
|
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 /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 /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 /home/runner/work/kubb/kubb/packages/core/src/FileManager.test.ts:613:85
|
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
|
error: expect(received).toMatchInlineSnapshot(expected):
packages/core/src/utils/TreeNode.test.ts#L32
Expected:
TreeNode {
"children": [
TreeNode {
"children": [
TreeNode {
"children": [],
"data": {
"file": {
"baseName": "test.ts",
"meta": {},
"path": "src/test.ts",
"sources": [],
},
"name": "test.ts",
"path": "src/test.ts",
"type": "single",
},
"parent": [Circular],
},
TreeNode {
"children": [
TreeNode {
"children": [],
"data": {
"file": {
"baseName": "hello.ts",
"meta": {},
"path": "src/sub/hello.ts",
"sources": [],
},
"name": "hello.ts",
"path": "src/sub/hello.ts",
"type": "single",
},
"parent": [Circular],
},
TreeNode {
"children": [],
"data": {
"file": {
"baseName": "world.ts",
"meta": {},
"path": "src/sub/world.ts",
"sources": [],
},
"name": "world.ts",
"path": "src/sub/world.ts",
"type": "single",
},
"parent": [Circular],
},
],
"data": {
"file": undefined,
"name": "sub",
"path": "src/sub",
"type": "split",
},
"parent": [Circular],
},
],
"data": {
"file": undefined,
"name": "src",
"path": "src",
"type": "split",
},
"parent": [Circular],
},
],
"data": {
"file": undefined,
"name": "",
"path": "",
"type": "split",
},
"parent": undefined,
}
Received:
TreeNode {
"children": [
TreeNode {
"children": [
TreeNode {
"children": [],
"data": {
"file": {
"baseName": "test.ts",
"meta": {},
"path": "src/test.ts",
"sources": [],
},
"name": "test.ts",
"path": "src/test.ts",
"type": "single",
},
"parent": [Circular],
},
TreeNode {
"children": [
TreeNode {
"children": [],
"data": {
"file": {
"baseName": "hello.ts",
"meta": {},
"path": "src/sub/hello.ts",
"sources": [],
},
"name": "hello.ts",
"path": "src/sub/hello.ts",
"type": "single",
},
"parent": [Circular],
},
TreeNode {
"children": [],
"data": {
"file": {
"baseName": "world.ts",
"meta": {},
"path": "src/sub/world.ts",
"sources": [],
},
"name": "world.ts",
"path": "src/sub/world.ts",
"type": "single",
},
"parent": [Circular],
},
],
"data": {
"file": undefined,
"name": "sub",
"path": "src/sub",
"type": "split",
},
"parent": [Circular],
},
],
"data": {
"file": undefined,
"name": "src",
"path": "src",
|
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
|