From 68021b53f9c929797cbbfe91ad587bf65dde0dae Mon Sep 17 00:00:00 2001 From: Matteo Collina Date: Mon, 15 Mar 2021 11:31:23 +0100 Subject: [PATCH] disable logging --- package.json | 2 +- test/legacy/multipart.test.js | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 24d8b036..92b1fe2d 100644 --- a/package.json +++ b/package.json @@ -14,8 +14,8 @@ "stream-wormhole": "^1.1.0" }, "devDependencies": { - "@types/node": "^14.0.27", "@types/busboy": "^0.2.3", + "@types/node": "^14.0.27", "@typescript-eslint/parser": "^4.0.0", "climem": "^1.0.3", "eslint": "^7.7.0", diff --git a/test/legacy/multipart.test.js b/test/legacy/multipart.test.js index 54e58b39..57f4b888 100644 --- a/test/legacy/multipart.test.js +++ b/test/legacy/multipart.test.js @@ -142,11 +142,7 @@ test('should call finished when both files are pumped', { skip: process.platform test('should call finished if one of the streams closes prematurely', { skip: process.platform === 'win32' }, function (t) { t.plan(5) - const fastify = Fastify({ - logger: { - level: 'debug' - } - }) + const fastify = Fastify() t.tearDown(fastify.close.bind(fastify)) fastify.register(multipart)