fix(tests): align wave1-a poolside test with #10216 probed catalog

#10216 published Poolside's two authenticated-probe models
(poolside/laguna-xs-2.1, poolside/laguna-s-2.1) as static seeds, but the
wave1-a free-tier test still asserted 'no invented static model ids'
(entry.models === []), failing every open PR. Separate poolside from the
empty-models assertion and pin its probed catalog explicitly so a future
catalog change is a deliberate update, not a silent drift.
This commit is contained in:
adevwithpurpose
2026-08-13 10:33:35 -03:00
parent 26096e6706
commit 4567f729dc

View File

@@ -48,8 +48,22 @@ for (const { entry, id, alias, chatUrl, modelsUrl } of providers) {
assert.equal(entry.modelsUrl, modelsUrl);
assert.equal(entry.passthroughModels, true);
});
}
// zylo-api and unorouter rely on the live catalog with no static seed (#9085).
for (const { entry, id } of providers.filter((p) => p.id !== "poolside")) {
test(`${id} relies on its live catalog without invented static model ids`, () => {
assert.deepEqual(entry.models, []);
});
}
// Poolside ships the two authenticated-probe models (#10216) as static seeds —
// they are the exact IDs the live catalog returns (authenticated probe 2026-08-07,
// #9085), not invented. Assert them explicitly so a future catalog change is a
// deliberate update, not a silent drift.
test("poolside ships the probed Laguna Preview models, not invented ids", () => {
const models = poolsideProvider.models;
assert.ok(Array.isArray(models) && models.length > 0, "poolside should seed its probed catalog");
const ids = models.map((m) => m.id);
assert.deepEqual(ids, ["poolside/laguna-xs-2.1", "poolside/laguna-s-2.1"]);
});