Skip to content

Commit d6be890

Browse files
committed
test: use removeListener instead of off for legacy compat
1 parent b2d8590 commit d6be890

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/functional/shared.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ class EventCollector {
185185
}
186186

187187
teardown() {
188-
this._client.off(this._eventName, this._listener);
188+
this._client.removeListener(this._eventName, this._listener);
189189
}
190190
}
191191

0 commit comments

Comments
 (0)