diff --git a/test/fastifyAwilixPlugin.dispose.test.js b/test/fastifyAwilixPlugin.dispose.test.js index 11793da..99d0879 100644 --- a/test/fastifyAwilixPlugin.dispose.test.js +++ b/test/fastifyAwilixPlugin.dispose.test.js @@ -35,7 +35,7 @@ function getCompletedRequests (output) { return output.filter((line) => { try { return JSON.parse(line).msg === 'request completed' - } catch (e) { + } catch { return false } })