mirror of
https://github.com/abrendan/MicDropMessages.git
synced 2025-08-25 22:12:02 +02:00
Initial commit
This commit is contained in:
16
node_modules/server/plugins/favicon/integration.test.js
generated
vendored
Normal file
16
node_modules/server/plugins/favicon/integration.test.js
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
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
|
||||
});
|
Reference in New Issue
Block a user