element-web/test
Kerry 292971dd0e
Upgrade to jest 27 (#7699)
* use jest@27.4.0, replace jest-environment-jsdom-sixteen with jest-environment-jsdom

Signed-off-by: Kerry Archibald <kerrya@element.io>

* polyfill setImmediate

Signed-off-by: Kerry Archibald <kerrya@element.io>

* remove done from async test cases

* useRealTimers in test relying on promise flushing

Signed-off-by: Kerry Archibald <kerrya@element.io>

* remove jest environment file

Signed-off-by: Kerry Archibald <kerrya@element.io>

* replace ts-jest mocked with jest utils mocked

Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-02-02 13:02:17 +01:00
..
accessibility Work towards unifying KeyboardShortcuts and KeyBindingsDefaults #1 (#7651) 2022-01-27 11:37:53 +00:00
autocomplete Auto-fix lint errors 2021-06-29 13:11:58 +01:00
components Upgrade to jest 27 (#7699) 2022-02-02 13:02:17 +01:00
editor Fix list formatting alternating on edit (#7422) 2021-12-21 10:07:44 +00:00
end-to-end-tests Fix spacing errors (#7484) 2022-01-10 12:57:20 +00:00
i18n Fix languages.json 2017-06-01 21:10:32 +02:00
i18n-test fallback properly with pluralized strings (#7495) 2022-01-10 14:54:57 +01:00
img Fix a load of warnings in the tests 2016-10-11 14:20:40 +01:00
notifications Update eslint plugin & fix silly indenting 2021-08-03 17:07:37 +01:00
settings/watchers Unit tests for getEffectiveTheme (#7051) 2021-10-29 09:11:55 +01:00
stores runAllTimers -> runOnlyPendingTimers in SpaceStore-test (#7634) 2022-01-26 11:38:07 +01:00
utils Upgrade to jest 27 (#7699) 2022-02-02 13:02:17 +01:00
.eslintrc.js Migrate to eslint-plugin-matrix-org 2021-06-29 12:51:13 +01:00
CallHandler-test.ts Revert "Start a conference in a room with 2 people + invitee rather than a 1:1 call (#7557)" (#7641) 2022-01-26 13:31:00 +00:00
createRoom-test.js Upgrade to jest 27 (#7699) 2022-02-02 13:02:17 +01:00
DecryptionFailureTracker-test.js Track decryption failures for visible events only, with a shorter grace period (#7579) 2022-01-19 14:31:43 -05:00
globalSetup.js Fix TimeZone to be UTC in Jest tests (#7082) 2021-11-04 10:39:49 +00:00
KeyBindingsManager-test.ts Work towards unifying KeyboardShortcuts and KeyBindingsDefaults #2 (#7674) 2022-01-31 15:55:45 +00:00
linkify-matrix-test.ts Upgrade linkifyjs to fix schemes as domain prefixes (#7628) 2022-01-25 17:37:54 +00:00
Markdown-test.ts Refactor matrix-linkify module (#7279) 2021-12-03 14:00:56 +00:00
PosthogAnalytics-test.ts Fix spacing errors (#7484) 2022-01-10 12:57:20 +00:00
ScalarAuthClient-test.js Auto-fix lint errors 2021-06-29 13:11:58 +01:00
setupTests.js Upgrade to jest 27 (#7699) 2022-02-02 13:02:17 +01:00
skinned-sdk.js Add configuration to disable relative date markers in timeline (#7405) 2021-12-21 10:08:22 +01:00
Terms-test.js Auto-fix lint errors 2021-06-29 13:11:58 +01:00
test-utils.js Wrap inputs in fieldsets in Space visibility settings (#7350) 2022-01-06 10:09:26 +00:00
TextForEvent-test.ts Add customisation point for mxid display (#7595) 2022-01-25 10:40:02 +01:00
UserActivity-test.js Auto fix 2021-10-22 17:23:37 -05:00