no log fastify in test

This commit is contained in:
tamaina 2023-02-12 12:16:15 +00:00
parent d5d48bbcc1
commit 7eb9cbb4a6

View File

@ -40,9 +40,7 @@ afterEach(() => {
/* tests below */
test('faviconがHTML上で指定されていないが、ルートに存在する場合、正しく設定される', async () => {
app = fastify({
logger: true,
});
app = fastify();
app.get('/', (request, reply) => {
return reply.send(fs.createReadStream(_dirname + '/htmls/no-favicon.html'));
});