Commit Graph

11 Commits

Author SHA1 Message Date
Łukasz Mierzwa
bbee4fce0d fix(tests): don't fail tests on react 16.9.0 deprecation warnings
There's a lot of 3rd party components using deprecated methods so there's a lot of warnings, and currently this is failing all tests.
Ignore these for now as we need to wait for components to be fixed
2019-08-09 19:41:52 +01:00
Łukasz Mierzwa
093dce1a58 fix(tests): new jsdom mocks localStorage, no need to provide a mock
This also needs to be mocked a little different: https://github.com/facebook/jest/issues/6798#issuecomment-412871616
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
fe16358899 feat(ui): fail UI tests if there's anything logged to console 2018-09-10 22:18:07 +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
4dfd044cc3 feat(tests): add Silence component tests 2018-09-01 19:36:01 +01:00
Łukasz Mierzwa
95de9e3cf9 feat(tests): add canvas mocks, needed for favico.js 2018-08-30 22:11:21 +01:00
Łukasz Mierzwa
464e92e76d refactor(tests): switch to enzyme
enzyme does everything skin-deep does and more, should cover more use cases
2018-08-23 20:52:39 +01:00
Łukasz Mierzwa
210da0a5ba refactor(tests): use jest-mock-console for mocking console calls 2018-08-22 15:46:03 +01:00
Łukasz Mierzwa
99f5f3999e refactor(tests): use jest-fetch-mock for mocking fetch() calls 2018-08-22 15:34:58 +01:00
Łukasz Mierzwa
992158d714 feat(test): basic tests for Fetcher component 2018-08-21 23:06:14 +01:00