Kerry
|
7a80ea4bbe
|
Test typescriptification - MessagePanel (#8943)
* mv test/components/structures/MessagePanel-test.js test/components/structures/MessagePanel-test.tsx
* convert simpler messagepanel tests to rtl
* add data-testid to eventlistsummary
* convert read marker tests to rtl
* formatting
* remove commented
|
2022-06-30 14:41:53 +02:00 |
|
Kerry
|
158e42f764
|
Unit test MessageActionBar (#8732)
* test most basic paths in messageactionbar
Signed-off-by: Kerry Archibald <kerrya@element.io>
* tidy
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add rtl
* add code style note about using rtl
Signed-off-by: Kerry Archibald <kerrya@element.io>
* downgrade to rtl 12
* use rtl for MessageActionBar test
Signed-off-by: Kerry Archibald <kerrya@element.io>
* try mocking settingsstore for ci only failure
Signed-off-by: Kerry Archibald <kerrya@element.io>
* mock setValue too
Signed-off-by: Kerry Archibald <kerrya@element.io>
* uupdate lockfile
Signed-off-by: Kerry Archibald <kerrya@element.io>
|
2022-06-02 10:25:56 +02:00 |
|
Kerry
|
ce3bc9dc07
|
test typescriptification - EventListSummary (#8493)
* test/components/views/elements/EventListSummary-test.js -> tsx
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add user mocks util
Signed-off-by: Kerry Archibald <kerrya@element.io>
* lint
Signed-off-by: Kerry Archibald <kerrya@element.io>
|
2022-05-04 16:37:41 +02:00 |
|
Kerry
|
e677901eaf
|
Add test utils for Beacons (#8064)
* copy beacon event test utils from js-sdk
Signed-off-by: Kerry Archibald <kerrya@element.io>
* mock with event emitter test util
* set return type getMockClientWithEventEmitter
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fix lint
Signed-off-by: Kerry Archibald <kerrya@element.io>
* copyright
Signed-off-by: Kerry Archibald <kerrya@element.io>
* pr improvements
Signed-off-by: Kerry Archibald <kerrya@element.io>
|
2022-03-16 13:11:06 +00:00 |
|