diff --git a/src/agents/context.opencode-go.test.ts b/src/agents/context.opencode-go.test.ts index c85aee199260..fc57ddda0f0a 100644 --- a/src/agents/context.opencode-go.test.ts +++ b/src/agents/context.opencode-go.test.ts @@ -8,7 +8,7 @@ describe("OpenCode Go context metadata", () => { let configuredModels: OpenClawConfig["models"]; beforeAll(async () => { - const cfg: OpenClawConfig = {}; + const cfg: OpenClawConfig = { plugins: { allow: ["opencode-go"] } }; await refreshContextWindowCache(cfg); contextWindowTokens = resolveMemoryFlushContextWindowTokens({