Commit Graph

45 Commits

Author SHA1 Message Date
829d207cea Fix type 2023-05-12 21:46:36 -05:00
275d456693 Fix groups test 2023-05-12 20:50:39 -05:00
afec0edc1c Add tests for Group API hooks 2023-05-08 13:29:11 -04:00
db91a00aca Add more Jest tests for various Group components 2023-05-05 08:35:11 -04:00
0016aeacec Normalize Relationship with zod 2023-05-02 18:49:13 -05:00
54d8d12054 Remove normalizeAd 2023-05-02 18:30:21 -05:00
4d609b57d6 Add tests for Groups discover components 2023-05-01 12:01:39 -04:00
d12078a687 Use group factory functions in tests instead of normalizers 2023-03-13 14:55:59 -05:00
04e5e06d26 Make sure DOM is ready for Portal 2023-02-10 13:49:59 -05:00
300d3a0200 Refactor tests with mock stores 2023-01-15 12:50:14 -06:00
5e22d1169f Upgrade @types/react to v18 2023-01-10 17:03:15 -06:00
1e89efebae Tests: wrap toast.remove() with act() 2023-01-05 17:45:48 -06:00
5297d8dde3 Remove uuid mock from Jest 2023-01-05 15:48:55 -06:00
bffe5318a9 Fix tests 2022-12-20 13:14:38 -05:00
f504d17abe Remove usage of 'snackbar' 2022-12-20 12:46:06 -05:00
01eccc897b Introduce new Toast module 2022-12-20 12:46:03 -05:00
72c26bc9bc Merge remote-tracking branch 'origin/develop' into chats 2022-11-17 10:58:34 -05:00
774b627397 Rename files (14): cleanup misc v2 2022-11-16 08:35:35 -05:00
a202fe68d1 Move api into a folder 2022-11-15 08:43:26 -05:00
15c22863d7 Fetch relationships everytime we fetch a single chat 2022-11-10 11:56:36 -05:00
245a0f4fc8 Add Memory Router above ChatContext 2022-11-04 10:24:40 -04:00
69723305eb Fix tests 2022-11-03 13:22:06 -04:00
24bca458bd Add tests for chats query 2022-10-28 13:01:39 -04:00
89af43df91 Add tests for ChatPane component 2022-10-03 11:03:43 -04:00
6c03b6ddd3 fix tests 2022-08-10 14:02:29 -04:00
968ec3a7d2 Clear React Query cache before each test 2022-08-10 10:30:58 -04:00
28d5461295 Fix react-query tests 2022-08-09 11:05:00 -05:00
8eec8f3a09 react-query: use legacy API client with hooks 2022-08-09 10:24:43 -05:00
6b297c3a7e Add tests 2022-08-08 15:53:21 -04:00
f6e5df2278 Jest: include QueryClientProvider in tests 2022-08-01 23:42:13 -05:00
e9112506c6 FIX ACTION TESTS TYPES 2022-07-06 17:02:44 -05:00
8da7b8fe7a Fix rootState type in tests 2022-07-06 15:25:07 -05:00
06d3f00170 Switch to @jedmao/redux-mock-store 2022-07-06 13:56:55 -05:00
2dd1631162 More component test TS fixes 2022-07-06 13:12:35 -05:00
621f8982f1 Allow guest browsing on Profiles and Statuses 2022-06-02 08:19:35 -04:00
75745d2c46 Clean up contexts test 2022-05-13 15:08:38 -05:00
f476b5ce96 Mock IndexedDB in tests 2022-04-21 17:03:29 -05:00
b6c7e3717b test-setup: mock uuid as a string 2022-04-21 12:24:54 -05:00
1deb4dfd2d Merge remote-tracking branch 'origin/next' into next-onboarding 2022-04-20 08:23:15 -05:00
35396923be Test rendering notifications 2022-04-16 19:03:33 -05:00
c8c715ee4b Add Onboarding controls to Redux 2022-04-14 10:42:56 -05:00
dbe6a0c415 Merge branch 'add-search-tests' into 'next'
Add tests for Search

See merge request soapbox-pub/soapbox-fe!1190
2022-04-07 14:06:00 +00:00
f8b6f8db28 Add tests for Search 2022-04-07 09:50:50 -04:00
ec83c3bc57 LandingPage: conditional registration flow 2022-04-05 14:38:49 -05:00
9a099b3fa7 Add "react-testing-library"
This commit also removes our older testing libraries like Enzyme and React Test Renderer.
2022-04-04 11:51:32 -04:00