pull/21833/head
David Baker 2019-06-11 13:16:49 +01:00
parent a6c5ac669b
commit 7602d76723
1 changed files with 3 additions and 1 deletions

View File

@ -69,9 +69,11 @@ describe('Registration', function() {
const root = render(); const root = render();
// Set non-empty flows to get past the loading spinner // Set non-empty flow & matrixClient to get past the loading spinner
root.setState({ root.setState({
flows: [], flows: [],
matrixClient: {},
busy: false,
}); });
const form = ReactTestUtils.findRenderedComponentWithType( const form = ReactTestUtils.findRenderedComponentWithType(