mirror of https://github.com/vector-im/riot-web
Fix undefined error in test
parent
9ae3a96b6a
commit
cbcca0bfa1
|
@ -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(
|
||||
<MatrixChat config={{}}/>
|
||||
|
|
Loading…
Reference in New Issue