element-web/test
David Baker ce1623691e Fix instantly sending RRs
Splits UserActivity into a tristate of 'active' (last < 1s), 'passive' (lasts a
couple of mins) and neither. Read receipts are sent when 'active', read markers
are sent while 'passive'.

Also fixed a document / window mix-up on the 'blur' handler.

Also adds a unit test for UserActivity because it's quite complex now
(and changes UserActivity to make it testable by accessing the singleton
via sharedInstance() rather than exporting it directly).

Fixes https://github.com/vector-im/riot-web/issues/9023
2019-03-08 12:46:38 +00:00
..
autocomplete Also test the two options while we're at it 2018-10-11 21:04:50 +01:00
components Revert "remove test for #528 as we removed that fix" 2019-03-01 16:08:58 +01:00
i18n Fix languages.json 2017-06-01 21:10:32 +02:00
i18n-test Perform substitution on all parts, not just the last one 2017-11-17 08:47:31 +01:00
img Fix a load of warnings in the tests 2016-10-11 14:20:40 +01:00
notifications fix tests 2018-04-15 23:48:52 +01:00
stores q(...) -> Promise.resolve 2017-07-12 18:05:08 +01:00
utils rewrite MegolmExportEncryption using async/await 2017-06-08 14:45:01 +01:00
.eslintrc.js de-lint MegolmExportEncryption + test 2017-06-08 14:29:53 +01:00
all-tests.js Run eslint --fix 2017-10-11 17:56:17 +01:00
DecryptionFailureTracker-test.js breaking changes from expect upgrade 2019-01-02 16:59:48 -06:00
matrix-to-test.js permalink is one word 2019-02-25 18:43:08 +01:00
mock-clock.js Run eslint --fix 2017-10-11 17:56:17 +01:00
PhasedRollOut-test.js fix test lint 2018-10-15 17:15:22 +02:00
skinned-sdk.js Run eslint --fix 2017-10-11 17:56:17 +01:00
test-utils.js Remove support for team servers 2019-01-25 16:13:30 -06:00
UserActivity-test.js Fix instantly sending RRs 2019-03-08 12:46:38 +00:00