mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-27 15:53:08 +02:00
add test
This commit is contained in:
parent
320f5fedfb
commit
0359db23d9
1 changed files with 5 additions and 0 deletions
|
@ -68,6 +68,11 @@ describe('Fetch resource', () => {
|
|||
const res = await simpleGet('/api.json', 'application/json');
|
||||
assert.strictEqual(res.status, 200);
|
||||
}));
|
||||
|
||||
it('GET favicon.ico', async(async () => {
|
||||
const res = await simpleGet('/favicon.ico', 'image/png');
|
||||
assert.strictEqual(res.status, 200);
|
||||
}));
|
||||
});
|
||||
|
||||
describe('/@:username', () => {
|
||||
|
|
Loading…
Reference in a new issue