loading tests: wait for login component

Rather than a fixed delay, use matrix-react-test-utils to wait for the login
component to appear. Hopefully this will deflakify some tests.
This commit is contained in:
Richard van der Hoff 2017-07-13 00:18:49 +01:00
parent 0f8a2554dc
commit b2403d59b7
2 changed files with 12 additions and 8 deletions

View file

@ -121,6 +121,7 @@
"karma-mocha": "^0.2.2",
"karma-webpack": "^1.7.0",
"matrix-mock-request": "^1.0.0",
"matrix-react-test-utils": "^0.2.0",
"minimist": "^1.2.0",
"mkdirp": "^0.5.1",
"mocha": "^2.4.5",