You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-30 02:21:17 +03:00
Fix undefined error in test
This commit is contained in:
@ -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={{}}/>
|
||||
|
Reference in New Issue
Block a user