diff --git a/tests/_helpers/helpers.js b/tests/_helpers/helpers.js index dda6a74e..c8438186 100644 --- a/tests/_helpers/helpers.js +++ b/tests/_helpers/helpers.js @@ -213,7 +213,7 @@ export const closeClient = function (client) { return new Promise((resolve) => { let sessionId = client._lastSessionId; - Object.entries(client._subscriptions).forEach(([subId, sub]) => { + Object.entries(client._subscriptions).forEach(([, sub]) => { sub?.stop(); });