Commit Graph

22 Commits (5de3af52abe97d9d110209517058ff3bde45cced)

Author SHA1 Message Date
Michael Telatynski 7fe11a6026
Make tests happier
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2023-09-26 12:28:31 +01:00
renovate[bot] 790ff16701
Update all non-major dependencies (#25858)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-07-27 11:33:18 +01:00
Šimon Brandner 93e6ee11ab
Switch to the new `session` API for screen-sharing (#25802) 2023-07-14 22:05:23 +02:00
Kerry ef30662c04
store fragmentafterlogin in sesison storage for oidc login (#25688) 2023-07-11 02:19:15 +00:00
Michael Telatynski f5b8bccb65
Conform more of the codebase with `noImplicitAny` and `strictNullChecks` (#25174
* Conform more of the codebase with `noImplicitAny` and `strictNullChecks`

* Fix tests

* Update src/vector/app.tsx
2023-04-25 09:36:17 +01:00
Michael Telatynski b9b0b096a4
Allow desktop app to expose recent rooms in UI integrations (#16940) 2023-03-22 09:22:51 +00:00
Michael Weimann 7921a6cbf8
Apply prettier formatting 2022-12-09 13:28:29 +01:00
Michael Telatynski 172f2f3993
Fix tests and convert to RTL (#23474) 2022-10-13 09:22:34 +01:00
Michael Telatynski 2ef6abbfb8
Move from `browser-request` to `fetch` (#23427) 2022-10-12 18:59:10 +01:00
Kerry 0e8e472138
Device manager - tweak string formatting of default device name (#23457)
* tweak string formatting of default device name

* cheaters path to beating quality gate

* more electronplatform test coverage

* remove test that throw errors

* cover some more window.electrons

* more coverage

* empty line
2022-10-12 15:35:52 +02:00
Michael Telatynski d8124d37e4
Improve coverage (#23380) 2022-09-30 18:27:59 +01:00
Michael Telatynski 5ec96f5abe
Add test coverage (#23341) 2022-09-23 09:42:03 +01:00
Michael Telatynski 017dfb6606
Write additional tests (#22802)
* Write additional tests

* Make Sonar happier
2022-07-11 13:22:37 +01:00
Kerry 5ade461ea5
unit test getVectorConfig (#22373)
* test getconfig

Signed-off-by: Kerry Archibald <kerrya@element.io>

* whitespace

Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-05-27 13:09:27 +00:00
Kerry 9df5bf17f4
unit test WebPlatform (#22371)
* test most version stuff

Signed-off-by: Kerry Archibald <kerrya@element.io>

* tidy

Signed-off-by: Kerry Archibald <kerrya@element.io>

* eof

Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-05-27 10:30:13 +00:00
Michael Telatynski 26fef6f294 actually run the new test and remove unrelated tweak 2021-07-16 13:45:10 +01:00
Michael Telatynski 8fdb41412f Use URLSearchParams instead of transitive dependency `querystring`
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-12 01:45:58 +01:00
Matthew Hodgson c8b26a1002 fix tests 2018-04-16 00:23:34 +01:00
Matthew Hodgson 8757c8cae0 move notif UTs to sdk 2018-04-12 20:24:44 +01:00
David Baker 9c7731e141 Don't include src in the test resolve root
As https://github.com/matrix-org/matrix-react-sdk/pull/931
2017-05-26 14:02:03 +01:00
Richard van der Hoff 121fe34180 Improve parsing of keyword notification rules
For notification rules, the absence of a value on a 'highlight' tweak means
that the highlight should happen; this was previously confusing us.

Use the action parser from NotificationUtils to simplify the code.

Fixes https://github.com/vector-im/vector-web/issues/1330
2016-04-14 22:45:00 +01:00
Richard van der Hoff ff5dff45f5 Start Notifications component refactor
Factor some things out of the mega Notifications component, and add a dummy
unit test to show willing
2016-04-13 18:44:41 +01:00