Skip to content

fix: support for bun #164

fix: support for bun

fix: support for bun #164

Triggered via pull request April 1, 2024 20:36
Status Failure
Total duration 1m 24s
Artifacts

quality.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 4 warnings
TypeError: expect(FileManager.getSource(file)).toMatchFileSnapshot is not a function. (In 'expect(FileManager.getSource(file)).toMatchFileSnapshot(`./__snapshots__/${name}/${file.path}`)': packages/swagger-tanstack-query/src/OperationGenerator.test.tsx#L213
at /home/runner/work/kubb/kubb/packages/swagger-tanstack-query/src/OperationGenerator.test.tsx:213:7 at forEach (:1:21) at /home/runner/work/kubb/kubb/packages/swagger-tanstack-query/src/OperationGenerator.test.tsx:212:5
TypeError: expect(FileManager.getSource(file)).toMatchFileSnapshot is not a function. (In 'expect(FileManager.getSource(file)).toMatchFileSnapshot(`./__snapshots__/${name}/${file.path}`)': packages/swagger-tanstack-query/src/OperationGenerator.test.tsx#L213
at /home/runner/work/kubb/kubb/packages/swagger-tanstack-query/src/OperationGenerator.test.tsx:213:7 at forEach (:1:21) at /home/runner/work/kubb/kubb/packages/swagger-tanstack-query/src/OperationGenerator.test.tsx:212:5
TypeError: expect(FileManager.getSource(file)).toMatchFileSnapshot is not a function. (In 'expect(FileManager.getSource(file)).toMatchFileSnapshot(`./__snapshots__/${name}/${file.path}`)': packages/swagger-tanstack-query/src/OperationGenerator.test.tsx#L213
at /home/runner/work/kubb/kubb/packages/swagger-tanstack-query/src/OperationGenerator.test.tsx:213:7 at forEach (:1:21) at /home/runner/work/kubb/kubb/packages/swagger-tanstack-query/src/OperationGenerator.test.tsx:212:5
TypeError: expect(FileManager.getSource(file)).toMatchFileSnapshot is not a function. (In 'expect(FileManager.getSource(file)).toMatchFileSnapshot(`./__snapshots__/${name}/${file.path}`)': packages/swagger-tanstack-query/src/OperationGenerator.test.tsx#L213
at /home/runner/work/kubb/kubb/packages/swagger-tanstack-query/src/OperationGenerator.test.tsx:213:7 at forEach (:1:21) at /home/runner/work/kubb/kubb/packages/swagger-tanstack-query/src/OperationGenerator.test.tsx:212:5
TypeError: expect(FileManager.getSource(file)).toMatchFileSnapshot is not a function. (In 'expect(FileManager.getSource(file)).toMatchFileSnapshot(`./__snapshots__/${name}/${file.path}`)': packages/swagger-tanstack-query/src/OperationGenerator.test.tsx#L213
at /home/runner/work/kubb/kubb/packages/swagger-tanstack-query/src/OperationGenerator.test.tsx:213:7 at forEach (:1:21) at /home/runner/work/kubb/kubb/packages/swagger-tanstack-query/src/OperationGenerator.test.tsx:212:5
TypeError: expect(FileManager.getSource(file)).toMatchFileSnapshot is not a function. (In 'expect(FileManager.getSource(file)).toMatchFileSnapshot(`./__snapshots__/${name}/${file.path}`)': packages/swagger-tanstack-query/src/OperationGenerator.test.tsx#L213
at /home/runner/work/kubb/kubb/packages/swagger-tanstack-query/src/OperationGenerator.test.tsx:213:7 at forEach (:1:21) at /home/runner/work/kubb/kubb/packages/swagger-tanstack-query/src/OperationGenerator.test.tsx:212:5
error: Not implemented: packages/core/src/transformers/escape.test.ts#L10
at /home/runner/work/kubb/kubb/packages/core/src/transformers/escape.test.ts:10:5
error: Not implemented: packages/core/src/transformers/stringify.test.ts#L5
at /home/runner/work/kubb/kubb/packages/core/src/transformers/stringify.test.ts:5:5
Typecheck
Type '(Export | undefined)[]' is not assignable to type 'Export[]'.
Typecheck
Type '(ReturnType<ParseResult<H>> | null)[]' is not assignable to type 'ReturnType<ParseResult<H>>[]'.
Typecheck
Cannot find name 'Bun'.
Typecheck
Cannot find name 'Bun'.
Typecheck
Cannot find name 'Bun'.
Typecheck
Type 'RegExp | undefined' is not assignable to type 'RegExp'.
Typecheck
Type '(Node | undefined)[]' is not assignable to type 'Node[]'.
Typecheck
Cannot find module 'vue/jsx-runtime' or its corresponding type declarations.
Typecheck
Cannot find module 'vue/jsx-runtime' or its corresponding type declarations.
Typecheck
Cannot find module 'vue/jsx-runtime' or its corresponding type declarations.
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/.
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/.
Tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/[email protected], actions/setup-node@v3, codecov/codecov-action@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/.