From b0bf24c1369994aea662cf3b1eb34b5abb756e9a Mon Sep 17 00:00:00 2001 From: David Baker Date: Fri, 17 Jun 2016 12:22:16 +0100 Subject: [PATCH] Comment --- test/components/structures/RoomView-test.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/components/structures/RoomView-test.js b/test/components/structures/RoomView-test.js index 0570ac0bbc..9c34383316 100644 --- a/test/components/structures/RoomView-test.js +++ b/test/components/structures/RoomView-test.js @@ -40,6 +40,9 @@ describe('RoomView', function () { ReactDOM.render(, parentDiv); process.nextTick(function() { + // These expect()s don't read very well and don't give very good failure + // messages, but expect's toHaveBeenCalled only takes an expect spy object, + // not a sinon spy object. expect(onRoomIdResolved.called).toExist(); ReactDOM.unmountComponentAtNode(parentDiv); done();