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
autocomplete
components Upgrade to jest 27 (#7699) 2022-02-02 13:02:17 +01:00
editor
end-to-end-tests
i18n
i18n-test
img
notifications
settings/watchers
stores
utils Upgrade to jest 27 (#7699) 2022-02-02 13:02:17 +01:00
.eslintrc.js
CallHandler-test.ts
createRoom-test.js Upgrade to jest 27 (#7699) 2022-02-02 13:02:17 +01:00
DecryptionFailureTracker-test.js
globalSetup.js
KeyBindingsManager-test.ts
linkify-matrix-test.ts
Markdown-test.ts
PosthogAnalytics-test.ts
ScalarAuthClient-test.js
setupTests.js Upgrade to jest 27 (#7699) 2022-02-02 13:02:17 +01:00
skinned-sdk.js
Terms-test.js
test-utils.js
TextForEvent-test.ts
UserActivity-test.js