forked from FoundKeyGang/FoundKey
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');
|
const res = await simpleGet('/api.json', 'application/json');
|
||||||
assert.strictEqual(res.status, 200);
|
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', () => {
|
describe('/@:username', () => {
|
||||||
|
|
Loading…
Reference in a new issue