Skip to content

Commit

Permalink
test: Coerce type to fix broken tests due to dependency change (#742)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
danieljbruce authored May 15, 2024
1 parent eba9bac commit adf5d46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion test/unit/interfaces/restify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
};
}

Expand Down

0 comments on commit adf5d46

Please sign in to comment.