Description
The tests that rely on MSW are sensitive to changes in MSW's version. API calls respond differently as of different cuts of MSW.
To see how tests are failing, do the following:
- pin the msw version to something higher (e.g., change 2.0.11 to 2.4.8)
- npm i
- npm run test:nolint
- watch 'em fail
Desired behavior/Acceptance criteria (returned value, expected error, performance expectations, etc.)
- change testing strategy to account for msw API changes
- possibly with a better wrapper for the msw methods
- possibly by not testing full object equivalence
Completion checklist
- Before closing this task, review one by one the checklist available here: https://www.mediawiki.org/wiki/Abstract_Wikipedia_team/Definition_of_Done#Back-end_Task/Bug_completion_checklist