Type generator #142
Annotations
9 errors and 4 warnings
packages/swagger-faker/src/OperationGenerator.test.tsx > OperationGenerator > [GET] should generate:
packages/swagger-faker/src/OperationGenerator.test.tsx#L45
Error: Snapshot `OperationGenerator > [GET] should generate 1` mismatched
- Expected
+ Received
@@ -1,9 +1,9 @@
"import { faker } from "@faker-js/faker";
import { Pets } from "./Pets";
- import { ListPets200, ListPetsError, ListPetsQueryParams, ListPetsQueryResponse } from "./ListPets";
import { Error } from "./Error";
+ import type { ListPets200, ListPetsError, ListPetsQueryParams, ListPetsQueryResponse } from "./ListPets";
/**
* @description A paged array of pets
*/
❯ packages/swagger-faker/src/OperationGenerator.test.tsx:45:43
❯ packages/swagger-faker/src/OperationGenerator.test.tsx:44:11
|
packages/swagger-faker/src/OperationGenerator.test.tsx > OperationGenerator > [GET] should generate with seed `[222]`:
packages/swagger-faker/src/OperationGenerator.test.tsx#L80
Error: Snapshot `OperationGenerator > [GET] should generate with seed `[222]` 1` mismatched
- Expected
+ Received
@@ -1,9 +1,9 @@
"import { faker } from "@faker-js/faker";
import { Pets } from "./Pets";
- import { ListPets200, ListPetsError, ListPetsQueryParams, ListPetsQueryResponse } from "./ListPets";
import { Error } from "./Error";
+ import type { ListPets200, ListPetsError, ListPetsQueryParams, ListPetsQueryResponse } from "./ListPets";
/**
* @description A paged array of pets
*/
❯ packages/swagger-faker/src/OperationGenerator.test.tsx:80:43
❯ packages/swagger-faker/src/OperationGenerator.test.tsx:79:11
|
packages/swagger-faker/src/OperationGenerator.test.tsx > OperationGenerator > [POST] should generate:
packages/swagger-faker/src/OperationGenerator.test.tsx#L112
Error: Snapshot `OperationGenerator > [POST] should generate 1` mismatched
- Expected
+ Received
@@ -1,8 +1,8 @@
"import { faker } from "@faker-js/faker";
- import { CreatePets201, CreatePetsError, CreatePetsMutationRequest, CreatePetsMutationResponse } from "./CreatePets";
import { Error } from "./Error";
+ import type { CreatePets201, CreatePetsError, CreatePetsMutationRequest, CreatePetsMutationResponse } from "./CreatePets";
/**
* @description Null response
*/
❯ packages/swagger-faker/src/OperationGenerator.test.tsx:112:43
❯ packages/swagger-faker/src/OperationGenerator.test.tsx:111:11
|
packages/swagger-faker/src/OperationGenerator.test.tsx > OperationGenerator > [DELETE] should generate with unknownType `any`:
packages/swagger-faker/src/OperationGenerator.test.tsx#L140
Error: Snapshot `OperationGenerator > [DELETE] should generate with unknownType `any` 1` mismatched
- Expected
+ Received
@@ -1,6 +1,6 @@
- "import { DeletePetPetidMutationResponse } from "./DeletePetPetid";
+ "import type { DeletePetPetidMutationResponse } from "./DeletePetPetid";
export function DeletePetPetidMutationResponse(override?: NonNullable<Partial<DeletePetPetidMutationResponse>>): NonNullable<DeletePetPetidMutationResponse> {
return undefined;
❯ packages/swagger-faker/src/OperationGenerator.test.tsx:140:43
❯ packages/swagger-faker/src/OperationGenerator.test.tsx:139:11
|
Tests
Process completed with exit code 1.
|
Typecheck
Cannot find module 'zod' or its corresponding type declarations.
|
Typecheck
react-query-v5-pet-store#typecheck: command (/home/runner/work/kubb/kubb/examples/react-query-v5) /home/runner/setup-pnpm/node_modules/.bin/pnpm run typecheck exited (1)
|
Typecheck
Process completed with exit code 1.
|
Linting
Process completed with exit code 134.
|
Build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/[email protected], actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/[email protected], actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Typecheck
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/[email protected], actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Linting
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/[email protected], actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|