From 4fcf9ab8765fb61a3cfcc525fbc7156659f47329 Mon Sep 17 00:00:00 2001 From: Phred Date: Sun, 11 Aug 2024 13:00:49 -0500 Subject: [PATCH] cleaning up --- test/unit/winston/exception-handler.test.js | 3 +-- test/unit/winston/rejection-handler.test.js | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/test/unit/winston/exception-handler.test.js b/test/unit/winston/exception-handler.test.js index 9e5c0f434..e10e7cd84 100644 --- a/test/unit/winston/exception-handler.test.js +++ b/test/unit/winston/exception-handler.test.js @@ -6,7 +6,7 @@ * */ -const baseHandlerTests = require('../../helpers/handlers'); +const baseHandlerTests = require('../../helpers/handler-tests'); const helpers = require('../../helpers'); describe('ExceptionHandler', function () { @@ -15,7 +15,6 @@ describe('ExceptionHandler', function () { baseHandlerTests({ name: 'ExceptionHandler', helper: 'exceptionHandler', - getAllInfo: new Error('catpants'), setup: 'clearExceptions', listener: 'uncaughtException', toggleSetting: 'handleExceptions', diff --git a/test/unit/winston/rejection-handler.test.js b/test/unit/winston/rejection-handler.test.js index d56af4e93..40049d88f 100644 --- a/test/unit/winston/rejection-handler.test.js +++ b/test/unit/winston/rejection-handler.test.js @@ -6,7 +6,7 @@ * */ -const baseHandlerTests = require('../../helpers/handlers'); +const baseHandlerTests = require('../../helpers/handler-tests'); const helpers = require('../../helpers'); describe('UnhandledRejectionHandler', function () {