diff --git a/eslint.config.mjs b/eslint.config.mjs index 2def443..2043070 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -29,8 +29,6 @@ export default tseslint.config( ], // Required to import JS modules "@typescript-eslint/no-var-requires": "off", - // TODO: Remove ignored rules and fix the code - "no-useless-catch": "off", } } ); \ No newline at end of file diff --git a/test/raygun_express_test.js b/test/raygun_express_test.js index 147382b..38a9e3a 100644 --- a/test/raygun_express_test.js +++ b/test/raygun_express_test.js @@ -42,8 +42,6 @@ test("batch reporting errors", async function (t) { try { await nextBatchRequest({ maxWait: 2000 }); - } catch (e) { - throw e; } finally { stop(); } @@ -68,8 +66,6 @@ test("batch transport discards massive errors", async function (t) { try { await nextBatchRequest({ maxWait: 2000 }); - } catch (e) { - throw e; } finally { stop(); }