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 tests
This commit is contained in:
@ -61,7 +61,7 @@ module.exports = React.createClass({
|
|||||||
minPasswordLength: PropTypes.number,
|
minPasswordLength: PropTypes.number,
|
||||||
onError: PropTypes.func,
|
onError: PropTypes.func,
|
||||||
onRegisterClick: PropTypes.func.isRequired, // onRegisterClick(Object) => ?Promise
|
onRegisterClick: PropTypes.func.isRequired, // onRegisterClick(Object) => ?Promise
|
||||||
flows: PropTypes.arrayOf(PropTypes.object),
|
flows: PropTypes.arrayOf(PropTypes.object).isRequired,
|
||||||
},
|
},
|
||||||
|
|
||||||
getDefaultProps: function() {
|
getDefaultProps: function() {
|
||||||
|
@ -37,6 +37,11 @@ function doInputEmail(inputEmail, onTeamSelected) {
|
|||||||
<RegistrationForm
|
<RegistrationForm
|
||||||
teamsConfig={TEAM_CONFIG}
|
teamsConfig={TEAM_CONFIG}
|
||||||
onTeamSelected={onTeamSelected}
|
onTeamSelected={onTeamSelected}
|
||||||
|
flows={[
|
||||||
|
{
|
||||||
|
stages: ['m.login.dummy'],
|
||||||
|
},
|
||||||
|
]}
|
||||||
/>,
|
/>,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user