From cbcca0bfa102b52da0aeb9b6b3c44198306e52fe Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Tue, 29 Mar 2016 00:02:48 +0100 Subject: [PATCH] Fix undefined error in test --- test/components/structures/MatrixChat-test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/components/structures/MatrixChat-test.js b/test/components/structures/MatrixChat-test.js index 46c76bb007..7d96b3a77a 100644 --- a/test/components/structures/MatrixChat-test.js +++ b/test/components/structures/MatrixChat-test.js @@ -16,7 +16,7 @@ describe('MatrixChat', function () { }); it('gives a login panel by default', function () { - peg.get().loginFlows.returns(q({})); + peg.get().loginFlows.returns(q({flows:[]})); var res = TestUtils.renderIntoDocument(