mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-23 01:13:48 +01:00
add test
This commit is contained in:
parent
b1507edcc3
commit
4fae5eb90d
@ -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 New Issue
Block a user