use borp #7
Annotations
4 errors and 1 notice
Run npm run covtest:
test\validation.test.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
Run npm run covtest:
test\validation-refs.test.js#L12
[Error [ERR_TEST_FAILURE]: correct error message] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: correct error message
at TestContext.<anonymous> (file:///D:/a/openapi-schema-validator/openapi-schema-validator/test/validation-refs.test.js:16:10)
at async Test.run (node:internal/test_runner/test:797:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:527:7) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: 'Cannot find JSON, YAML or filename in data',
expected: "Can't resolve #/components/schemas/nonExisting1",
operator: 'strictEqual'
}
}
|
Run npm run covtest:
test\validation-refs.test.js#L23
[Error [ERR_TEST_FAILURE]: validation succeeds] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: validation succeeds
at TestContext.<anonymous> (file:///D:/a/openapi-schema-validator/openapi-schema-validator/test/validation-refs.test.js:26:10)
at async Test.run (node:internal/test_runner/test:797:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:527:7) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: 'strictEqual'
}
}
|
Run npm run covtest
Process completed with exit code 1.
|
Run npm run covtest
Total Tests: 21
Suites 📂: 0
Passed ✅: 18
Failed ❌: 3
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 615.201ms
|
Loading