mirror of
https://github.com/abrendan/MicDropMessages.git
synced 2025-06-17 21:25:00 +02:00
17 lines
369 B
JavaScript
17 lines
369 B
JavaScript
const run = require('server/test/run');
|
|
|
|
const favicon = 'test/logo.png';
|
|
|
|
describe('Default modules', () => {
|
|
it('favicon', async () => {
|
|
const res = await run({ favicon }).get('/favicon.ico');
|
|
expect(res.headers['content-type']).toBe('image/x-icon');
|
|
});
|
|
|
|
// TODO: test for non-existing
|
|
|
|
// TODO: test different locations
|
|
|
|
// TODO: test for env
|
|
});
|