From adf5d4614b4f68f2cab6d5bdf2679590e83be053 Mon Sep 17 00:00:00 2001 From: danieljbruce Date: Wed, 15 May 2024 15:28:05 -0400 Subject: [PATCH] test: Coerce type to fix broken tests due to dependency change (#742) * test: Coerce type to fix broken tests due to depend * Try downgrading the dependency * adjust dev dependency * Upgrade dependency again * upgrade compodoc one last time * Add comment * another comment * Remove comment --- package.json | 2 +- test/unit/interfaces/restify.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 7dc28cabb..7fe8be846 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "console-log-level": "^1.4.1" }, "devDependencies": { - "@compodoc/compodoc": "^1.1.10", + "@compodoc/compodoc": "1.1.23", "@hapi/hapi": "^21.0.0", "@types/boom": "^7.2.1", "@types/console-log-level": "^1.4.0", diff --git a/test/unit/interfaces/restify.ts b/test/unit/interfaces/restify.ts index e4dc11bc9..747485203 100644 --- a/test/unit/interfaces/restify.ts +++ b/test/unit/interfaces/restify.ts @@ -25,7 +25,7 @@ import {handlerSetup as restifyInterface} from '../../../src/interfaces/restify' if (!EventEmitter.prototype.listenerCount) { EventEmitter.prototype.listenerCount = function (this, eventName) { // eslint-disable-next-line node/no-deprecated-api - return EventEmitter.listenerCount(this, eventName); + return EventEmitter.listenerCount(this, eventName as string); }; }