Skip to content

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

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

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

Triggered via pull request July 8, 2024 23:46
Status Failure
Total duration 35s
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

6 errors
test/externalRefs-import.test.ts > External $refs > refHandling option === "import" > multiple definitions aliasing same whole document > dedupe imports and resolve against same document: 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-dereferencing-deeply-nested-1720482393644' ❯ 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-dereferencing-deeply-nested-1720482393644' }
test/specialFields.test.ts > OpenApi special fields > handles schema correctly: test/specialFields.test.ts#L18
AssertionError: promise rejected "Error: ENOENT: no such file or directory,… { …(4) }" instead of resolving ❯ test/specialFields.test.ts:18:5 Caused by: Caused by: Error: ENOENT: no such file or directory, open '/home/runner/work/openapi-ts-json-schema/openapi-ts-json-schema/test/fixtures/schemas-autogenerated-special-openapi-fields-1720482392749/paths/_hello.ts' ❯ Module.saveFile src/utils/saveFile.ts:14:3 ❯ Module.makeTsJsonSchemaFiles src/utils/makeTsJsonSchemaFiles.ts:34:7 ❯ Module.openapiToTsJsonSchema src/openapiToTsJsonSchema.ts:213:3 ❯ test/specialFields.test.ts:8:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'open', path: '/home/runner/work/openapi-ts-json-schema/openapi-ts-json-schema/test/fixtures/schemas-autogenerated-special-openapi-fields-1720482392749/paths/_hello.ts' }
test-and-build (20.x, ubuntu-latest)
Process completed with exit code 1.
test-and-build (20.x, macOS-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.