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
validate Chat export parameter customisation (#7647) 2022-01-31 12:54:14 +01:00
AnimationUtils-test.ts
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
export-test.tsx Chat export parameter customisation (#7647) 2022-01-31 12:54:14 +01:00
FixedRollingArray-test.ts
generate-megolm-test-vectors.py
iterables-test.ts Fix naming of set-theory utils to match convention (#7343) 2021-12-13 10:57:51 +00:00
maps-test.ts
MegolmExportEncryption-test.js Upgrade to jest 27 (#7699) 2022-02-02 13:02:17 +01:00
numbers-test.ts
objects-test.ts
sets-test.ts
ShieldUtils-test.js
Singleflight-test.ts
stringOrderField-test.ts
test-utils.ts Auto fix 2021-10-22 17:23:37 -05:00