Skip to content

feat: update specs

feat: update specs #58

Triggered via pull request June 6, 2025 09:10
Status Failure
Total duration 21s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
src/tools/registerOpenApi.test.ts > registerOpenApiTools > tool arguments validation > should validate parameters correctly ('searchSingleIndex' - 'query url'): src/tools/registerOpenApi.test.ts#L386
AssertionError: expected -32602 to be undefined // Object.is equality - Expected: undefined + Received: -32602 ❯ src/tools/registerOpenApi.test.ts:386:29
src/tools/registerOpenApi.test.ts > registerOpenApiTools > tool arguments validation > should validate parameters correctly ('searchSingleIndex' - 'query object'): src/tools/registerOpenApi.test.ts#L386
AssertionError: expected -32602 to be undefined // Object.is equality - Expected: undefined + Received: -32602 ❯ src/tools/registerOpenApi.test.ts:386:29
src/tools/registerOpenApi.test.ts > registerOpenApiTools > should not crash when registering ALL tools: src/tools/registerOpenApi.test.ts#L178
AssertionError: expected [ { …(4) }, …(124) ] to have a length of 172 but got 125 - Expected + Received - 172 + 125 ❯ src/tools/registerOpenApi.test.ts:178:19
src/commands/start-server.test.ts > default behavior > should list dashboard tools: src/commands/start-server.test.ts#L119
AssertionError: expected [ …(129) ] to have a length of 176 but got 129 - Expected + Received - 176 + 129 ❯ src/commands/start-server.test.ts:119:19
Unhandled error: src/CustomMcpServer.ts#L147
Error: Tool with name deleteSource already exists ❯ CustomMcpServer.tool src/CustomMcpServer.ts:147:13 ❯ registerOpenApiTools src/tools/registerOpenApi.ts:76:14 ❯ startServer src/commands/start-server.ts:212:3 ❯ processTicksAndRejections node:internal/process/task_queues:105:5 ❯ src/commands/start-server.test.ts:112:20 ❯ node_modules/@vitest/runner/dist/index.js:595:20 This error originated in "src/commands/start-server.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
Unhandled error: src/CustomMcpServer.ts#L147
Error: Tool with name getStatus already exists ❯ CustomMcpServer.tool src/CustomMcpServer.ts:147:13 ❯ registerOpenApiTools src/tools/registerOpenApi.ts:76:14 ❯ startServer src/commands/start-server.ts:171:5 ❯ processTicksAndRejections node:internal/process/task_queues:105:5 ❯ src/commands/start-server.test.ts:112:20 ❯ node_modules/@vitest/runner/dist/index.js:595:20 This error originated in "src/commands/start-server.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
Unhandled error: src/CustomMcpServer.ts#L147
Error: Tool with name deleteSource already exists ❯ CustomMcpServer.tool src/CustomMcpServer.ts:147:13 ❯ registerOpenApiTools src/tools/registerOpenApi.ts:76:14 ❯ startServer src/commands/start-server.ts:212:3 ❯ src/commands/start-server.test.ts:37:26 ❯ node_modules/@vitest/runner/dist/index.js:103:11 ❯ node_modules/@vitest/runner/dist/index.js:595:26 ❯ node_modules/@vitest/runner/dist/index.js:877:20 ❯ runWithTimeout node_modules/@vitest/runner/dist/index.js:850:10 ❯ runTest node_modules/@vitest/runner/dist/index.js:1345:12 This error originated in "src/commands/start-server.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
Unhandled error: src/CustomMcpServer.ts#L147
Error: Tool with name getStatus already exists ❯ CustomMcpServer.tool src/CustomMcpServer.ts:147:13 ❯ registerOpenApiTools src/tools/registerOpenApi.ts:76:14 ❯ startServer src/commands/start-server.ts:171:5 ❯ src/commands/start-server.test.ts:37:26 ❯ node_modules/@vitest/runner/dist/index.js:103:11 ❯ node_modules/@vitest/runner/dist/index.js:595:26 ❯ node_modules/@vitest/runner/dist/index.js:877:20 ❯ runWithTimeout node_modules/@vitest/runner/dist/index.js:850:10 ❯ runTest node_modules/@vitest/runner/dist/index.js:1345:12 This error originated in "src/commands/start-server.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
Unhandled error: src/CustomMcpServer.ts#L147
Error: Tool with name deleteSource already exists ❯ CustomMcpServer.tool src/CustomMcpServer.ts:147:13 ❯ registerOpenApiTools src/tools/registerOpenApi.ts:76:14 ❯ src/tools/registerOpenApi.test.ts:167:7 ❯ node_modules/@vitest/runner/dist/index.js:103:11 ❯ node_modules/@vitest/runner/dist/index.js:595:26 ❯ node_modules/@vitest/runner/dist/index.js:877:20 ❯ runWithTimeout node_modules/@vitest/runner/dist/index.js:850:10 ❯ runTest node_modules/@vitest/runner/dist/index.js:1345:12 ❯ processTicksAndRejections node:internal/process/task_queues:105:5 This error originated in "src/tools/registerOpenApi.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
Unhandled error: src/CustomMcpServer.ts#L147
Error: Tool with name getStatus already exists ❯ CustomMcpServer.tool src/CustomMcpServer.ts:147:13 ❯ registerOpenApiTools src/tools/registerOpenApi.ts:76:14 ❯ src/tools/registerOpenApi.test.ts:167:7 ❯ node_modules/@vitest/runner/dist/index.js:103:11 ❯ node_modules/@vitest/runner/dist/index.js:595:26 ❯ node_modules/@vitest/runner/dist/index.js:877:20 ❯ runWithTimeout node_modules/@vitest/runner/dist/index.js:850:10 ❯ runTest node_modules/@vitest/runner/dist/index.js:1345:12 ❯ processTicksAndRejections node:internal/process/task_queues:105:5 This error originated in "src/tools/registerOpenApi.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.