Commit Graph

10 Commits (6741ee61d883dfa4fa072d3b027fef7b31ab7d5a)

Author SHA1 Message Date
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