element-web/test/utils
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
..
permalinks Auto-fix lint errors 2021-06-29 13:11:58 +01:00
validate Chat export parameter customisation (#7647) 2022-01-31 12:54:14 +01:00
AnimationUtils-test.ts Add some tests 2021-07-09 16:45:04 +02:00
arrays-test.ts Fix naming of set-theory utils to match convention (#7343) 2021-12-13 10:57:51 +00:00
DateUtils-test.ts Fix a couple relative date tests (#7184) 2021-11-23 11:29:23 -07:00
enums-test.ts Auto-fix lint errors 2021-06-29 13:11:58 +01:00
export-test.tsx Chat export parameter customisation (#7647) 2022-01-31 12:54:14 +01:00
FixedRollingArray-test.ts delint 2021-07-12 13:52:10 -06:00
generate-megolm-test-vectors.py Encryption and decryption for megolm backups 2017-01-14 01:34:34 +00:00
iterables-test.ts Fix naming of set-theory utils to match convention (#7343) 2021-12-13 10:57:51 +00:00
maps-test.ts Auto-fix lint errors 2021-06-29 13:11:58 +01:00
MegolmExportEncryption-test.js Upgrade to jest 27 (#7699) 2022-02-02 13:02:17 +01:00
numbers-test.ts Auto-fix lint errors 2021-06-29 13:11:58 +01:00
objects-test.ts Discard unused utility now that we use Object.fromEntries 2021-07-23 18:40:22 +01:00
sets-test.ts Auto-fix lint errors 2021-06-29 13:11:58 +01:00
ShieldUtils-test.js Update eslint plugin & fix silly indenting 2021-08-03 17:07:37 +01:00
Singleflight-test.ts Auto-fix lint errors 2021-06-29 13:11:58 +01:00
stringOrderField-test.ts remove unused imports 2021-06-16 12:12:00 +01:00
test-utils.ts Auto fix 2021-10-22 17:23:37 -05:00