diff --git a/test/components/structures/RoomView-test.js b/test/components/structures/RoomView-test.js index 3522c41e32..58db29b1ee 100644 --- a/test/components/structures/RoomView-test.js +++ b/test/components/structures/RoomView-test.js @@ -63,7 +63,7 @@ describe('RoomView', function () { peg.get().joinRoom = function(x) { expect(x).toEqual('#alias:ser.ver'); done(); - } + }; process.nextTick(function() { roomView.onJoinButtonClicked();