1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-31 13:44:28 +03:00

Fix undefined error in test

This commit is contained in:
Richard van der Hoff
2016-03-29 00:02:48 +01:00
parent 9ae3a96b6a
commit cbcca0bfa1

View File

@ -16,7 +16,7 @@ describe('MatrixChat', function () {
}); });
it('gives a login panel by default', function () { it('gives a login panel by default', function () {
peg.get().loginFlows.returns(q({})); peg.get().loginFlows.returns(q({flows:[]}));
var res = TestUtils.renderIntoDocument( var res = TestUtils.renderIntoDocument(
<MatrixChat config={{}}/> <MatrixChat config={{}}/>