feat: add exe.dev provider logo

This commit is contained in:
Bohdan Triapitsyn
2026-09-03 11:49:34 +03:00
parent 29ca970362
commit 62a18f07a0
3 changed files with 22 additions and 1 deletions
@@ -0,0 +1,11 @@
import { describe, expect, test } from 'bun:test';
import { readFileSync } from 'node:fs';
const source = readFileSync(new URL('./useProviderLogo.ts', import.meta.url), 'utf8');
describe('provider logo aliases', () => {
test('maps rotating exe.dev proxy provider IDs to the local exe.dev logo', () => {
expect(source).toContain("compact.startsWith('exe-') ? 'exe-dev' : undefined");
expect(source).toContain('const candidates = [prefixAlias,');
});
});