Łukasz Mierzwa
6ea4149d8a
fix(tests): refactor entrypoint for full test coverage
2019-10-27 21:46:25 +00:00
Łukasz Mierzwa
f43d9ece7d
feat(ui): ui default settings are populated from the config file
2019-10-04 23:28:34 +01:00
Łukasz Mierzwa
a1b4423d22
fix(tests): use partial matching when testing raven parameters
...
.toHaveBeenCalledWith({}) uses strict equality test, entired passed object must match, we only care about dsn and release arguments so only fail if those are missing or mismatched
2018-10-24 20:22:42 +01:00
Łukasz Mierzwa
4e3635bc98
fix(tests): reset mocks between tests
...
Ensures that tests don't rely on previous tests mocking things
2018-10-03 10:16:31 +01:00
Łukasz Mierzwa
699e2bafa8
fix(ui): fixing tests that stopped working with rca 2.0
2018-10-03 09:34:39 +01:00
Łukasz Mierzwa
3ab98ecca4
chore(tests): better sentry tests with real package instead of a mock
2018-09-20 16:09:08 +01:00
Łukasz Mierzwa
22a48301e8
feat(sentry): add ErrorBoundary to capture exceptions
...
* switch to new Sentry client lib
* Add ErrorBoundary as a wrapper around App to capture errors and display exception page with auto refresh
* rename all instances of Raven to Sentry
2018-09-19 21:08:22 +01:00
Łukasz Mierzwa
4d64b0b3ea
chore(tests): drop console mock, fix all tests that throw console errors
2018-09-08 21:11:15 +01:00
Łukasz Mierzwa
fbdea79354
fix(tests): add test coverage for missed branches in AppBoot
2018-09-02 16:45:40 +01:00
Łukasz Mierzwa
e886939bcb
feat(tests): move early code to AppBoot, add tests for it
2018-08-25 17:26:41 +01:00