Skip to content

chore(deps-dev): bump vitest and @vitest/coverage-v8 #871

chore(deps-dev): bump vitest and @vitest/coverage-v8

chore(deps-dev): bump vitest and @vitest/coverage-v8 #871

Triggered via pull request July 9, 2024 08:02
Status Failure
Total duration 47s
Artifacts

ci.yml

on: pull_request
Matrix: test-and-build
Upload code coverage
0s
Upload code coverage
Fit to window
Zoom out
Zoom in

Annotations

8 errors
test/externalRefs-import.test.ts > External $refs > refHandling option === "import" > multiple definitions aliasing same whole document > dedupe imports and resolve against same document: src/utils/saveFile.ts#L13
Error: ENOENT: no such file or directory, mkdir '/home/runner/work/openapi-ts-json-schema/openapi-ts-json-schema/test/fixtures/schemas-autogenerated-external-refs-import-document-alias-1720512196398/components/schemas' ❯ Module.saveFile src/utils/saveFile.ts:13:3 ❯ Module.makeTsJsonSchemaFiles src/utils/makeTsJsonSchemaFiles.ts:34:7 ❯ Module.openapiToTsJsonSchema src/openapiToTsJsonSchema.ts:213:3 ❯ test/externalRefs-import.test.ts:42:32 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'mkdir', path: '/home/runner/work/openapi-ts-json-schema/openapi-ts-json-schema/test/fixtures/schemas-autogenerated-external-refs-import-document-alias-1720512196398/components/schemas' }
test/index.test.ts > openapiToTsJsonSchema > deletes previously generated schemas: vitest.setup.ts#L10
Error: ENOENT: no such file or directory, lstat '/home/runner/work/openapi-ts-json-schema/openapi-ts-json-schema/test/fixtures/schemas-autogenerated-index-delete-old-1720512194566' ❯ walk node_modules/tiny-glob/index.js:27:35 ❯ walk node_modules/tiny-glob/index.js:38:5 ❯ Proxy.module.exports node_modules/tiny-glob/index.js:80:3 ❯ clearGeneratedFiles vitest.setup.ts:10:23 ❯ vitest.setup.ts:17:3 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'lstat', path: '/home/runner/work/openapi-ts-json-schema/openapi-ts-json-schema/test/fixtures/schemas-autogenerated-index-delete-old-1720512194566' }
test/paths-parameters.test.ts > OpenAPI paths parameters > refHandling: "'keep'" > Transforms parameters array into valid JSON schema: vitest.setup.ts#L10
Error: ENOENT: no such file or directory, lstat '/home/runner/work/openapi-ts-json-schema/openapi-ts-json-schema/test/fixtures/schemas-autogenerated-meta-data-1720512199043' ❯ walk node_modules/tiny-glob/index.js:27:35 ❯ walk node_modules/tiny-glob/index.js:38:5 ❯ Proxy.module.exports node_modules/tiny-glob/index.js:80:3 ❯ clearGeneratedFiles vitest.setup.ts:10:23 ❯ vitest.setup.ts:17:3 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'lstat', path: '/home/runner/work/openapi-ts-json-schema/openapi-ts-json-schema/test/fixtures/schemas-autogenerated-meta-data-1720512199043' }
test-and-build (20.x, ubuntu-latest)
Process completed with exit code 1.
test-and-build (20.x, windows-latest)
The job was canceled because "_20_x_ubuntu-latest" failed.
test-and-build (20.x, windows-latest)
The operation was canceled.
test-and-build (20.x, macOS-latest)
The job was canceled because "_20_x_ubuntu-latest" failed.
test-and-build (20.x, macOS-latest)
The operation was canceled.