riot-web/test
Kegan Dougal d876e4482b Fix broken tests caused by adding IndexedDB support
This test assumed that `/sync` would be called immediately after rendering
`<MatrixChat />` but this isn't true in an IndexedDB world: it bounces via
`store.startup()` first.

It looks like the tests resolve this by adding `q.delay(1)` so that's what
I've done: in the future it would be better to extend `HttpBackend` to have
a `waitFor(req) Promise` function so we can removing timing from the tests.
2017-02-17 14:32:08 +00:00
..
app-tests Fix broken tests caused by adding IndexedDB support 2017-02-17 14:32:08 +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