/** * tests/unit/quota-endpoints-card.test.ts * * Task 7 — source-scan assertions for QuotaEndpointsCard component: * - renders /v1/chat/completions base URL * - references quotaModelName or builds qtSd/ ids * - has a for API key preview", () => { assert.ok( cardSrc.includes(" for API key selection" ); }); test("QuotaEndpointsCard: has a previewKeyNone leading option", () => { assert.ok( cardSrc.includes('previewKeyNone') || cardSrc.includes("previewKeyNone"), "QuotaEndpointsCard must use the t('previewKeyNone') i18n key for the empty/all option" ); }); test("QuotaEndpointsCard: has a leading option with value=\"\" for no-key selection", () => { // The leading option must have value="" so that on reset it reverts to all-endpoints view assert.ok( cardSrc.includes('value=""') || cardSrc.includes("value=''"), "QuotaEndpointsCard must have a leading