mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 08:03:39 +00:00
fix(ai): skip zen tests when OPENCODE_API_KEY is not set (#605)
The zen.test.ts file was added without the standard skipIf guard, causing CI to fail on all PRs since no OPENCODE_API_KEY is configured. This follows the same pattern used by other API-dependent tests.
This commit is contained in:
parent
b4351040a7
commit
fbc4e89f84
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@ import { MODELS } from "../src/models.generated.js";
|
|||
import { complete } from "../src/stream.js";
|
||||
import type { Model } from "../src/types.js";
|
||||
|
||||
describe("OpenCode Zen Models Smoke Test", () => {
|
||||
describe.skipIf(!process.env.OPENCODE_API_KEY)("OpenCode Zen Models Smoke Test", () => {
|
||||
const zenModels = Object.values(MODELS.opencode);
|
||||
|
||||
zenModels.forEach((model) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue