Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EFUzfmHGGiYUjNcvJoyzdf
This commit is contained in:
1 parent
58d4393d9d
commit
6b6215f1b5
6 files changed
+20
-1
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user