matrix-bot/test
Richard van der Hoff 597705716b Hopefully, fix intermittent test failure
This seeks to fix the intermittent failure of the "MatrixClient rehydrated from
stored credentials" tests.

The problem appears to be that the 'load_completed' is sometimes taking a while
to come through from the dispatcher - or rather, it is taking a long time to
get *sent* to the dispatcher: the chain of `q().then().catch().done()` in
componentDidMount can take a while to happen.

As a workaround, give the test a few goes when waiting for us to start
syncing. It's not ideal to be poking into the internal state of MatrixChat like
this, but it'll do for now.
2017-01-24 11:26:09 +00:00
..
app-tests Hopefully, fix intermittent test failure 2017-01-24 11:26:09 +00:00
unit-tests/notifications Improve parsing of keyword notification rules 2016-04-14 22:45:00 +01:00
.eslintrc.js Add eslint config 2017-01-23 14:22:54 +00:00
all-tests.js Start Notifications component refactor 2016-04-13 18:44:41 +01:00
mock-request.js Run some tests under karma 2016-04-13 17:20:06 +01:00
skin-sdk.js Run some tests under karma 2016-04-13 17:20:06 +01:00
test-utils.js Make sure that we clear localstorage before *all* tests 2016-08-11 11:42:29 +01:00