Fix the provider test assertion type

This commit is contained in:
Fisto
2026-09-17 11:11:53 +02:00
parent 7c9aa43e10
commit 83dd9bc0fa
+4 -1
View File
@@ -1348,7 +1348,10 @@ void (async () => {
}); });
await test("provider filters are the curated archive list", () => { await test("provider filters are the curated archive list", () => {
assert.ok(PROVIDER_FILTERS.length >= 8 && PROVIDER_FILTERS.length <= 12, PROVIDER_FILTERS.length); assert.ok(
PROVIDER_FILTERS.length >= 8 && PROVIDER_FILTERS.length <= 12,
`provider list has ${PROVIDER_FILTERS.length} entries`
);
assert.equal(new Set(PROVIDER_FILTERS).size, PROVIDER_FILTERS.length); assert.equal(new Set(PROVIDER_FILTERS).size, PROVIDER_FILTERS.length);
for (const value of PROVIDER_FILTERS) { for (const value of PROVIDER_FILTERS) {