fix: flaky test (#6905)
Some checks are pending
CI / build-check-test (push) Waiting to run

This commit is contained in:
Cristina Poncela Cubeiro 2026-07-21 15:53:51 +02:00 • committed by GitHub
parent 3dcb411e89
commit 899fe26911
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -652,7 +652,7 @@ describe("ModelRegistry", () => {
expect(anthropicModels.some((m) => m.id === "claude-custom")).toBe(false);
expect(anthropicModels.some((m) => m.id === "claude-custom-2")).toBe(true);
expect(anthropicModels.some((m) => m.id.includes("claude"))).toBe(true);
});
}, 60_000);
test("removing custom models from models.json keeps built-in provider models", async () => {
writeModelsJson({