Skip to content

Running Copilot

Running Copilot #1

Triggered via dynamic October 15, 2025 03:21
Status Success
Total duration 10m 52s
Artifacts 1

copilot

on: dynamic
Fit to window
Zoom out
Zoom in

Annotations

10 errors
tests/index.test.ts > fanyi CLI > should print without color: tests/index.test.ts#L68
AssertionError: expected '\n\n⚠️ 需要设置 OpenRouter API Key 才能使用 …' to contain '\u001b[35m' - Expected + Received - + + + ⚠️ 需要设置 OpenRouter API Key 才能使用 LLM 翻译功能 + 请访问 https://openrouter.ai/keys 获取 API Key,然后运行: + fanyi config set LLM_API_KEY sk-or-v1-your-key-here + + ❯ tests/index.test.ts:68:21
tests/index.test.ts > fanyi CLI > should print translation of the word: tests/index.test.ts#L37
AssertionError: expected '\n\n⚠️ 需要设置 OpenRouter API Key 才能使用 …' to contain 'hello 英[ hə\'ləʊ ] 美[ həˈloʊ ] ~ …' - Expected + Received - hello 英[ hə'ləʊ ] 美[ həˈloʊ ] ~ iciba.com + + + ⚠️ 需要设置 OpenRouter API Key 才能使用 LLM 翻译功能 + 请访问 https://openrouter.ai/keys 获取 API Key,然后运行: + fanyi config set LLM_API_KEY sk-or-v1-your-key-here + + ❯ tests/index.test.ts:37:20
tests/index.test.ts > fanyi CLI > should not print error when translate "ant love": tests/index.test.ts#L83
AssertionError: expected '- 正在请教 iciba...\n✖ 访问 iciba 失败,请检查网络\n' not to contain '访问 iciba 失败' - Expected + Received - 访问 iciba 失败 + - 正在请教 iciba... + ✖ 访问 iciba 失败,请检查网络 + ❯ tests/index.test.ts:83:24
tests/index.test.ts > fanyi CLI > should print without color: tests/index.test.ts#L68
AssertionError: expected '\n\n⚠️ 需要设置 OpenRouter API Key 才能使用 …' to contain '\u001b[35m' - Expected + Received - + + + ⚠️ 需要设置 OpenRouter API Key 才能使用 LLM 翻译功能 + 请访问 https://openrouter.ai/keys 获取 API Key,然后运行: + fanyi config set LLM_API_KEY sk-or-v1-your-key-here + + ❯ tests/index.test.ts:68:21
tests/index.test.ts > fanyi CLI > should print help if -h is given: tests/index.test.ts#L48
Error: Snapshot `fanyi CLI > should print help if -h is given 1` mismatched - Expected + Received @@ -15,11 +15,11 @@ $ fanyi world peace $ fanyi chinglish $ fanyi config set color true $ fanyi config set iciba true $ fanyi config set llm true - $ fanyi config set LLM_API_BASE_URL your_api_base_url - $ fanyi config set LLM_API_KEY your_api_key_here + $ fanyi config set LLM_API_KEY sk-or-v1-your-openrouter-key + $ fanyi config set LLM_MODEL_ID openai/gpt-4o - $ fanyi config set LLM_MODEL_ID your_model_id + $ fanyi config set LLM_MODEL_ID anthropic/claude-3.5-sonnet $ fanyi config list " ❯ tests/index.test.ts:48:20
tests/index.test.ts > fanyi CLI > should print usage if no arguments are given: tests/index.test.ts#L43
Error: Snapshot `fanyi CLI > should print usage if no arguments are given 1` mismatched - Expected + Received @@ -15,11 +15,11 @@ $ fanyi world peace $ fanyi chinglish $ fanyi config set color true $ fanyi config set iciba true $ fanyi config set llm true - $ fanyi config set LLM_API_BASE_URL your_api_base_url - $ fanyi config set LLM_API_KEY your_api_key_here + $ fanyi config set LLM_API_KEY sk-or-v1-your-openrouter-key + $ fanyi config set LLM_MODEL_ID openai/gpt-4o - $ fanyi config set LLM_MODEL_ID your_model_id + $ fanyi config set LLM_MODEL_ID anthropic/claude-3.5-sonnet $ fanyi config list " ❯ tests/index.test.ts:43:20
tests/index.test.ts > fanyi CLI > should print translation of the word: tests/index.test.ts#L37
AssertionError: expected '\n\n⚠️ 需要设置 OpenRouter API Key 才能使用 …' to contain 'hello 英[ hə\'ləʊ ] 美[ həˈloʊ ] ~ …' - Expected + Received - hello 英[ hə'ləʊ ] 美[ həˈloʊ ] ~ iciba.com + + + ⚠️ 需要设置 OpenRouter API Key 才能使用 LLM 翻译功能 + 请访问 https://openrouter.ai/keys 获取 API Key,然后运行: + fanyi config set LLM_API_KEY sk-or-v1-your-key-here + + ❯ tests/index.test.ts:37:20
tests/index.test.ts > fanyi CLI > should not print error when translate "ant love": tests/index.test.ts#L83
AssertionError: expected '- 正在请教 iciba...\n✖ 访问 iciba 失败,请检查网络\…' not to contain '访问 iciba 失败' - Expected + Received - 访问 iciba 失败 + - 正在请教 iciba... + ✖ 访问 iciba 失败,请检查网络 + - 正在请教 deepseek-chat... + ✖ 访问 deepseek-chat 失败,请检查网络或 API 密钥 + ❯ tests/index.test.ts:83:24
tests/index.test.ts > fanyi CLI > should print without color: tests/index.test.ts#L68
AssertionError: expected '\n' to contain '\u001b[35m' - Expected + Received - + + ❯ tests/index.test.ts:68:21
tests/index.test.ts > fanyi CLI > should print translation of the word: tests/index.test.ts#L37
AssertionError: expected '\n' to contain 'hello 英[ hə\'ləʊ ] 美[ həˈloʊ ] ~ …' - Expected + Received - hello 英[ hə'ləʊ ] 美[ həˈloʊ ] ~ iciba.com + + ❯ tests/index.test.ts:37:20

Artifacts

Produced during runtime
Name Size Digest
results Expired
2.4 KB
sha256:91db3b80a676d5607f5a79f7cfb448e19ffbe595ba7995c95494fae076c8097d