fix test
This commit is contained in:
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user