mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 05:30:42 +00:00
test: align release branch expectations
This commit is contained in:
@@ -138,9 +138,7 @@ describe("buildQaGatewayConfig", () => {
|
||||
});
|
||||
|
||||
expect(getPrimaryModel(cfg.agents?.defaults?.model)).toBe("aimock/gpt-5.5");
|
||||
expect(cfg.agents?.defaults?.imageGenerationModel).toEqual({
|
||||
primary: "aimock/gpt-image-1",
|
||||
});
|
||||
expect(cfg.agents?.defaults).not.toHaveProperty("imageGenerationModel");
|
||||
expect(cfg.models?.providers?.aimock?.baseUrl).toBe("http://127.0.0.1:45080/v1");
|
||||
expect(cfg.models?.providers?.aimock?.api).toBe("openai-responses");
|
||||
expect(cfg.models?.providers?.openai?.baseUrl).toBe("http://127.0.0.1:45080/v1");
|
||||
|
||||
@@ -307,7 +307,7 @@ describe("bundled plugin package dependency checks", () => {
|
||||
}
|
||||
});
|
||||
|
||||
it("still requires root deps for root-owned installed chunks", () => {
|
||||
it("allows root-owned chunks to import externalized optional runtime deps", () => {
|
||||
const tempRoot = mkdtempSync(join(tmpdir(), "openclaw-root-owned-installed-missing-"));
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user