Commit graph

62 commits

Author SHA1 Message Date
Christopher Willis-Ford
32b839a0d6 test(unit): add fixes for newer jest 2024-02-26 16:13:36 -08:00
Christopher Willis-Ford
9a97535168 style(test): enable ES6 and Jest eslint rules for tests 2023-10-24 14:03:18 -07:00
BryceLTaylor
8da33efdaa update unit test to catch exception
Necessary for tests to pass on node 16
update package-lock
2022-04-01 11:40:00 -04:00
seotts
ef3e861fc3 Allow admins to promote curators 2021-09-24 16:12:09 -04:00
seotts
dc241e1c6f Accept studio "host" from api; use "host" in state 2021-09-17 15:50:16 -04:00
seotts
9e390d3404 Unit tests for transfer error states 2021-09-07 13:28:20 -04:00
Eric Rosenbaum
1d6c47d2a4
Revert "Revert "Transfer host modal updates"" 2021-09-02 14:43:31 -04:00
Eric Rosenbaum
ad2536e2c6
Revert "Transfer host modal updates" 2021-09-01 10:08:11 -04:00
Eric Rosenbaum
ffe1475401 Reload the managers list after transfer 2021-08-26 13:32:34 -04:00
Eric Rosenbaum
5d838ef659 Muted users cannot transfer studio host 2021-08-24 14:36:06 -04:00
Eric Rosenbaum
5fd180b558 update test 2021-08-19 21:41:55 -04:00
Eric Rosenbaum
ccb31f2fb5 add unit test for transfer host action 2021-08-19 13:56:37 -04:00
Eric Rosenbaum
dbf9b18d5b add unit test for permissions 2021-08-19 11:59:08 -04:00
Paul Kaplan
51268695f2 test(studios): fix failing permissions tests for studios
there was a test that mutated global fixture data, causing future tests to fail
2021-07-13 14:01:30 -04:00
Paul Kaplan
dcf2682f09
Merge pull request from paulkaplan/test-studio-member-actions
Create detailed unit tests for studio-member-actions
2021-07-07 15:28:55 -04:00
Paul Kaplan
e719d25e3d fix(studio): do not show mute error as if manager can edit info 2021-07-06 10:42:02 -04:00
Paul Kaplan
0ca3431ec3 test: fix the new test for studio removeManager edge case 2021-06-30 11:26:54 -04:00
Paul Kaplan
e66a31abd8 test(studios): add missing test situations for studio-member-actions 2021-06-30 11:15:11 -04:00
Paul Kaplan
caeb6e476c Fixup incorrectly added code to test files 2021-06-28 09:54:53 -04:00
Karishma Chadha
d0ad0a45d4 Update manager permissions for studios. 2021-06-25 12:41:36 -04:00
Paul Kaplan
1027b82f66 Include unit tests for more of the action creators 2021-06-25 10:43:33 -04:00
Paul Kaplan
a9d0ca47d7 Remove unused args 2021-06-24 08:47:52 -04:00
Paul Kaplan
c9ba9d443c Add tests for all studio-member-actions 2021-06-23 21:28:33 -04:00
Paul Kaplan
cfd52d9369 Pass a customized comment component for studios 2021-06-21 16:06:40 -04:00
picklesrus
d3e368bce2
Merge branch 'develop' into studio-comments-off 2021-06-17 13:47:03 -04:00
Karishma Chadha
8821e0e865 Studio creators and managers can delete their own comments 2021-06-16 11:17:43 -04:00
picklesrus
cda92f329d Fix lint 2021-06-15 17:34:05 -04:00
picklesrus
36516447cc Fix up tests from refactor and fix bug from refactor. 2021-06-15 17:22:32 -04:00
seotts
dbb258cf8b Work on tests
remove failing tests
2021-05-21 10:00:15 -04:00
seotts
4f556785d3 Move whether to show mute both into selectors 2021-05-21 10:00:15 -04:00
seotts
19a9997e0f Muted users can’t edit studios
linting fixes
2021-05-21 09:46:19 -04:00
Paul Kaplan
acc88069e9 Allow curators to remove themselves 2021-05-14 12:37:05 -04:00
Paul Kaplan
f61047dda0
Merge branch 'develop' into add-studio-activity-pagination 2021-05-11 13:38:15 -04:00
Paul Kaplan
0fdf54339a Merge branch 'develop' into add-studio-activity-pagination 2021-05-11 12:09:10 -04:00
Paul Kaplan
443dcc28e2 Merge branch 'develop' into feature/studio-project-modal 2021-05-11 12:04:05 -04:00
Paul Kaplan
fbd8908a83 Fix lint 2021-05-10 21:06:31 -04:00
Paul Kaplan
f474525398 Remove unused loadMore functionality from infinite list because it was overly specific, now it is no longer being used by any component 2021-05-10 14:14:46 -04:00
Paul Kaplan
95766fd68a Add clear to infinite list, fixup tests 2021-05-10 10:22:18 -04:00
Paul Kaplan
3785108348 Promoted and added curators should go at the end of the list 2021-05-06 09:14:15 -04:00
Paul Kaplan
699e30dedd Fix curator permissions for removing projects 2021-05-03 13:26:50 -04:00
Paul Kaplan
c3d266f3ba Add in pending tests for missing project removal functionality 2021-05-03 10:59:52 -04:00
Paul Kaplan
0f8baaaa45 Add tests for new studio permissions 2021-05-03 10:52:04 -04:00
Paul Kaplan
5827aaab8f Update permissions for editing open_to_all to match current backend 2021-04-27 09:06:40 -04:00
Paul Kaplan
f9419ac8fc Fix comment toggling and add permissions test 2021-04-26 15:11:06 -04:00
Paul Kaplan
647575e4a8 Move permissions into its own reducer 2021-04-21 14:52:56 -04:00
Paul Kaplan
82da633e61 Add title, description and following editors 2021-04-21 14:52:56 -04:00
Paul Kaplan
c789a27018 Fix logged in selector with test 2021-04-21 14:52:53 -04:00
Paul Kaplan
11794d885a Add permissions selectors and tests for studio comments 2021-04-08 10:36:56 -04:00
Paul Kaplan
8267dcf16a Fix TODO and add selector for studio comment capability 2021-04-02 12:43:32 -04:00
Paul Kaplan
cd8ae4b197 Use lodash.get to simplify permissions, move test data into fixtures for better testing 2021-04-02 12:33:18 -04:00