Skip to content

Commit adf5d46

Browse files
authored
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
1 parent eba9bac commit adf5d46

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"console-log-level": "^1.4.1"
3636
},
3737
"devDependencies": {
38-
"@compodoc/compodoc": "^1.1.10",
38+
"@compodoc/compodoc": "1.1.23",
3939
"@hapi/hapi": "^21.0.0",
4040
"@types/boom": "^7.2.1",
4141
"@types/console-log-level": "^1.4.0",

test/unit/interfaces/restify.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import {handlerSetup as restifyInterface} from '../../../src/interfaces/restify'
2525
if (!EventEmitter.prototype.listenerCount) {
2626
EventEmitter.prototype.listenerCount = function (this, eventName) {
2727
// eslint-disable-next-line node/no-deprecated-api
28-
return EventEmitter.listenerCount(this, eventName);
28+
return EventEmitter.listenerCount(this, eventName as string);
2929
};
3030
}
3131

0 commit comments

Comments
 (0)