fix test
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
c26d71b5aa
commit
4719084af2
1 changed files with 5 additions and 0 deletions
|
@ -75,6 +75,11 @@ describe('Login', function() {
|
||||||
|
|
||||||
const root = render();
|
const root = render();
|
||||||
|
|
||||||
|
// Set non-empty flows & matrixClient to get past the loading spinner
|
||||||
|
root.setState({
|
||||||
|
currentFlow: "m.login.password",
|
||||||
|
});
|
||||||
|
|
||||||
const form = ReactTestUtils.findRenderedComponentWithType(
|
const form = ReactTestUtils.findRenderedComponentWithType(
|
||||||
root,
|
root,
|
||||||
sdk.getComponent('auth.PasswordLogin'),
|
sdk.getComponent('auth.PasswordLogin'),
|
||||||
|
|
Loading…
Reference in a new issue