Commit graph

52 commits

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