Remove dis call which doesn't seem to be necessary

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2021-04-28 13:39:09 +02:00
parent b6324a816f
commit 9aaf321e4e
No known key found for this signature in database
GPG key ID: 9760693FDD98A790

View file

@ -199,7 +199,6 @@ describe('CallHandler', () => {
fakeCall.emit(CallEvent.AssertedIdentityChanged);
await roomChangePromise;
dis.unregister(dispatchHandle);
callHandler.removeAllListeners();
// If everything's gone well, we should have seen only one room change