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
DecryptionFailureTracker-test.js
KeyBindingsManager-test.ts
Markdown-test.ts
PosthogAnalytics-test.ts
ScalarAuthClient-test.js
Terms-test.js
TextForEvent-test.ts
UserActivity-test.js
createRoom-test.js Upgrade to jest 27 (#7699) 2022-02-02 13:02:17 +01:00
globalSetup.js
linkify-matrix-test.ts
setupTests.js Upgrade to jest 27 (#7699) 2022-02-02 13:02:17 +01:00
skinned-sdk.js
test-utils.js