mirror of
https://github.com/openclaw/openclaw.git
synced 2026-10-03 01:29:56 +00:00
test(clawrouter): refresh catalog before asserting models (#143692)
This commit is contained in:
parent
0614abfe2a
commit
6081dc2ef8
1 changed files with 1 additions and 1 deletions
|
|
@ -133,7 +133,7 @@ describe("ClawRouter managed gateway contract", () => {
|
|||
expect(gatewayReadiness).toMatchObject({ ready: true, failing: [] });
|
||||
|
||||
const catalog = await instance.cli(
|
||||
["models", "list", "--all", "--provider", "clawrouter", "--json"],
|
||||
["models", "list", "--all", "--provider", "clawrouter", "--refresh", "--json"],
|
||||
{ timeoutMs: 120_000 },
|
||||
);
|
||||
expect(catalog.code, catalog.stderr).toBe(0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue