Skip to content

Commit

Permalink
no log fastify in test
Browse files Browse the repository at this point in the history
  • Loading branch information
tamaina committed Feb 12, 2023
1 parent d5d48bb commit 7eb9cbb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'));
});
Expand Down

0 comments on commit 7eb9cbb

Please sign in to comment.