license #274
Annotations
3 errors and 1 warning
Run npm test:
__tests__/index.test.js#L23
AssertionError: promise rejected "ResolverError: Error opening file "/home/… { …(5) }" instead of resolving
❯ __tests__/index.test.js:23:51
Caused by: ResolverError: Error opening file "/home/runner/work/oas-examples/oas-examples/3.1/json/docs/getting-started.md"
ENOENT: no such file or directory, open '/home/runner/work/oas-examples/oas-examples/3.1/json/docs/getting-started.md'
❯ ReadFileContext.callback node_modules/@readme/json-schema-ref-parser/lib/resolvers/file.js:52:20
❯ FSReqCallback.readFileAfterOpen [as oncomplete] node:fs:319:13
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERESOLVER', source: '/home/runner/work/oas-examples/oas-examples/3.1/json/docs/getting-started.md', path: null, toJSON: 'Function<toJSON>', ioErrorCode: 'ENOENT', footprint: 'null+/home/runner/work/oas-examples/oas-examples/3.1/json/docs/getting-started.md+ERESOLVER+Error opening file "/home/runner/work/oas-examples/oas-examples/3.1/json/docs/getting-started.md" \nENOENT: no such file or directory, open \'/home/runner/work/oas-examples/oas-examples/3.1/json/docs/getting-started.md\'' }
|
Run npm test:
__tests__/index.test.js#L36
AssertionError: promise rejected "ResolverError: Error opening file "/home/… { …(5) }" instead of resolving
❯ __tests__/index.test.js:36:51
Caused by: ResolverError: Error opening file "/home/runner/work/oas-examples/oas-examples/3.1/yaml/docs/getting-started.md"
ENOENT: no such file or directory, open '/home/runner/work/oas-examples/oas-examples/3.1/yaml/docs/getting-started.md'
❯ ReadFileContext.callback node_modules/@readme/json-schema-ref-parser/lib/resolvers/file.js:52:20
❯ FSReqCallback.readFileAfterOpen [as oncomplete] node:fs:319:13
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERESOLVER', source: '/home/runner/work/oas-examples/oas-examples/3.1/yaml/docs/getting-started.md', path: null, toJSON: 'Function<toJSON>', ioErrorCode: 'ENOENT', footprint: 'null+/home/runner/work/oas-examples/oas-examples/3.1/yaml/docs/getting-started.md+ERESOLVER+Error opening file "/home/runner/work/oas-examples/oas-examples/3.1/yaml/docs/getting-started.md" \nENOENT: no such file or directory, open \'/home/runner/work/oas-examples/oas-examples/3.1/yaml/docs/getting-started.md\'' }
|
Run npm test
Process completed with exit code 1.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading