feat: browser tab icon from Infinity's own site icon
CI / build (push) Failing after 0s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfmHGGiYUjNcvJoyzdf
This commit is contained in:
ngqileandClaude Opus 5.5 committed 2026-12-01 12:19:07 +08:00
1 parent 58d4393d9d
commit 6b6215f1b5
6 files changed
+20 -1

No files matched your search

+8
View File
@@ -62,6 +62,14 @@ test('serves the landing page', async () => {
assert.match(res.headers.get('content-type'), /text\/html/);
});
test('serves the browser tab icons', async () => {
for (const url of ['/favicon.ico', '/favicon-32.png', '/favicon-192.png', '/apple-touch-icon.png']) {
const res = await fetch(`${base}${url}`);
assert.strictEqual(res.status, 200, url);
assert.strictEqual(res.headers.get('content-type'), 'image/png', url);
}
});
test('valid lead is stored', async () => {
const res = await post(valid);
assert.strictEqual(res.status, 201);