feat: refactor command framework #215
ci.yml
on: pull_request
lint + typecheck + test
52s
Annotations
7 errors
|
lint + typecheck + test
Process completed with exit code 1.
|
|
packages/cli/tests/e2e/video-ref-r2v.e2e.test.ts > e2e: video ref (r2v) > video ref --dry-run 接受 --async 与 --concurrent:
packages/cli/tests/e2e/video-ref-r2v.e2e.test.ts#L45
AssertionError: {
"error": {
"code": 3,
"message": "This command needs a model-domain API key."
}
}
: expected 3 to be +0 // Object.is equality
- Expected
+ Received
- 0
+ 3
❯ packages/cli/tests/e2e/video-ref-r2v.e2e.test.ts:45:30
❯ node_modules/.pnpm/@voidzero-dev+vite-plus-test@0.1.22_@types+node@25.6.0_jiti@2.6.1_typescript@6.0.3_vite_0ccee13a25110590f42b651e2950fee7/node_modules/@voidzero-dev/vite-plus-test/dist/@vitest/runner/chunk-artifact.js:1903:22
|
|
packages/cli/tests/e2e/video-edit.e2e.test.ts > e2e: video edit > video edit --dry-run 接受 --async 与 --concurrent:
packages/cli/tests/e2e/video-edit.e2e.test.ts#L45
AssertionError: {
"error": {
"code": 3,
"message": "This command needs a model-domain API key."
}
}
: expected 3 to be +0 // Object.is equality
- Expected
+ Received
- 0
+ 3
❯ packages/cli/tests/e2e/video-edit.e2e.test.ts:45:30
❯ node_modules/.pnpm/@voidzero-dev+vite-plus-test@0.1.22_@types+node@25.6.0_jiti@2.6.1_typescript@6.0.3_vite_0ccee13a25110590f42b651e2950fee7/node_modules/@voidzero-dev/vite-plus-test/dist/@vitest/runner/chunk-artifact.js:1903:22
|
|
packages/cli/tests/e2e/mcp.e2e.test.ts > e2e: mcp > mcp call --json 无效 JSON 报错且非零退出:
packages/cli/tests/e2e/mcp.e2e.test.ts#L249
AssertionError: expected '{\n "error": {\n "code": 3,\n …' to match /--json is not valid JSON|--json must …/
- Expected:
/--json is not valid JSON|--json must decode/
+ Received:
"{
\"error\": {
\"code\": 3,
\"message\": \"No API key found.\",
\"hint\": \"Set DASHSCOPE_API_KEY, pass --api-key, or run `bl auth login`.\"
}
}
"
❯ packages/cli/tests/e2e/mcp.e2e.test.ts:249:20
❯ node_modules/.pnpm/@voidzero-dev+vite-plus-test@0.1.22_@types+node@25.6.0_jiti@2.6.1_typescript@6.0.3_vite_0ccee13a25110590f42b651e2950fee7/node_modules/@voidzero-dev/vite-plus-test/dist/@vitest/runner/chunk-artifact.js:1903:22
|
|
packages/cli/tests/e2e/mcp.e2e.test.ts > e2e: mcp > mcp call --arg 非 K=V 形式时报错且非零退出:
packages/cli/tests/e2e/mcp.e2e.test.ts#L234
AssertionError: expected '{\n "error": {\n "code": 3,\n …' to match /--arg must be in K=V/
- Expected:
/--arg must be in K=V/
+ Received:
"{
\"error\": {
\"code\": 3,
\"message\": \"No API key found.\",
\"hint\": \"Set DASHSCOPE_API_KEY, pass --api-key, or run `bl auth login`.\"
}
}
"
❯ packages/cli/tests/e2e/mcp.e2e.test.ts:234:20
❯ node_modules/.pnpm/@voidzero-dev+vite-plus-test@0.1.22_@types+node@25.6.0_jiti@2.6.1_typescript@6.0.3_vite_0ccee13a25110590f42b651e2950fee7/node_modules/@voidzero-dev/vite-plus-test/dist/@vitest/runner/chunk-artifact.js:1903:22
|
|
packages/cli/tests/e2e/mcp.e2e.test.ts > e2e: mcp > mcp call --target 缺少 . 时报错且非零退出:
packages/cli/tests/e2e/mcp.e2e.test.ts#L219
AssertionError: expected '{\n "error": {\n "code": 3,\n …' to match /<server-code>\.<tool>|target must be/i
- Expected:
/<server-code>\.<tool>|target must be/i
+ Received:
"{
\"error\": {
\"code\": 3,
\"message\": \"No API key found.\",
\"hint\": \"Set DASHSCOPE_API_KEY, pass --api-key, or run `bl auth login`.\"
}
}
"
❯ packages/cli/tests/e2e/mcp.e2e.test.ts:219:20
❯ node_modules/.pnpm/@voidzero-dev+vite-plus-test@0.1.22_@types+node@25.6.0_jiti@2.6.1_typescript@6.0.3_vite_0ccee13a25110590f42b651e2950fee7/node_modules/@voidzero-dev/vite-plus-test/dist/@vitest/runner/chunk-artifact.js:1903:22
|
|
packages/cli/tests/e2e/image-edit.e2e.test.ts > e2e: image edit > image edit --dry-run 接受 async 模型的 --async 与 --concurrent:
packages/cli/tests/e2e/image-edit.e2e.test.ts#L50
AssertionError: {
"error": {
"code": 3,
"message": "This command needs a model-domain API key."
}
}
: expected 3 to be +0 // Object.is equality
- Expected
+ Received
- 0
+ 3
❯ packages/cli/tests/e2e/image-edit.e2e.test.ts:50:30
❯ node_modules/.pnpm/@voidzero-dev+vite-plus-test@0.1.22_@types+node@25.6.0_jiti@2.6.1_typescript@6.0.3_vite_0ccee13a25110590f42b651e2950fee7/node_modules/@voidzero-dev/vite-plus-test/dist/@vitest/runner/chunk-artifact.js:1903:22
|