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
@ -55,6 +55,11 @@ describe('Login', function() {
|
|||||||
it('should show form with change server link', function() {
|
it('should show form with change server link', 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'),
|
||||||
|
Reference in New Issue
Block a user