diff --git a/test/components/structures/auth/Registration-test.js b/test/components/structures/auth/Registration-test.js index 6914ed71d7..6a8b35fbc0 100644 --- a/test/components/structures/auth/Registration-test.js +++ b/test/components/structures/auth/Registration-test.js @@ -69,9 +69,11 @@ describe('Registration', function() { 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({ flows: [], + matrixClient: {}, + busy: false, }); const form = ReactTestUtils.findRenderedComponentWithType(