fix windows pattern #4
Annotations
6 errors and 1 notice
Run npm run test:
test\plugin.v3.test.js#L250
[Error [ERR_TEST_FAILURE]: 'specification' parameter must contain a valid version 2.0 or 3.0.x or 3.1.x specification] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: Error: 'specification' parameter must contain a valid version 2.0 or 3.0.x or 3.1.x specification
at Parser.parse (file:///D:/a/fastify-openapi-glue/fastify-openapi-glue/lib/Parser.js:49:13)
at async plugin (file:///D:/a/fastify-openapi-glue/fastify-openapi-glue/index.js:122:18)
}
|
Run npm run test:
test\plugin.v3.test.js#L300
Error [ERR_TEST_FAILURE]: got expected error
at process.emit (node:events:519:28) {
code: 'ERR_TEST_FAILURE',
failureType: 'unhandledRejection',
cause: AssertionError [ERR_ASSERTION]: got expected error
at file:///D:/a/fastify-openapi-glue/fastify-openapi-glue/test/plugin.v3.test.js:305:14
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: "'specification' parameter must contain a valid version 2.0 or 3.0.x or 3.1.x specification",
expected: "'serviceHandlers' parameter must refer to an object",
operator: 'strictEqual'
}
}
|
Run npm run test:
test\plugin.v2.test.js#L154
[Error [ERR_TEST_FAILURE]: 'specification' parameter must contain a valid version 2.0 or 3.0.x or 3.1.x specification] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: Error: 'specification' parameter must contain a valid version 2.0 or 3.0.x or 3.1.x specification
at Parser.parse (file:///D:/a/fastify-openapi-glue/fastify-openapi-glue/lib/Parser.js:49:13)
at async plugin (file:///D:/a/fastify-openapi-glue/fastify-openapi-glue/index.js:122:18)
}
|
Run npm run test:
test\plugin.v2.test.js#L182
Error [ERR_TEST_FAILURE]: got expected error
at process.emit (node:events:519:28) {
code: 'ERR_TEST_FAILURE',
failureType: 'unhandledRejection',
cause: AssertionError [ERR_ASSERTION]: got expected error
at file:///D:/a/fastify-openapi-glue/fastify-openapi-glue/test/plugin.v2.test.js:187:14
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: "'specification' parameter must contain a valid version 2.0 or 3.0.x or 3.1.x specification",
expected: "'serviceHandlers' parameter must refer to an object",
operator: 'strictEqual'
}
}
|
Run npm run test:
test\plugin.v2.test.js#L199
Error [ERR_TEST_FAILURE]: got expected error
at process.emit (node:events:519:28) {
code: 'ERR_TEST_FAILURE',
failureType: 'unhandledRejection',
cause: AssertionError [ERR_ASSERTION]: got expected error
at file:///D:/a/fastify-openapi-glue/fastify-openapi-glue/test/plugin.v2.test.js:204:14
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: "'specification' parameter must contain a valid version 2.0 or 3.0.x or 3.1.x specification",
expected: "'serviceHandlers' parameter must refer to an object",
operator: 'strictEqual'
}
}
|
Run npm run test
Process completed with exit code 1.
|
Run npm run test
Total Tests: 88
Suites 📂: 0
Passed ✅: 83
Failed ❌: 5
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 8202.808ms
|
Loading