Description
Chai asserts should be assert( actual, expected ), but we do assert( expected, actual ), which becomes confusing when debugging tests.
Docs: https://www.chaijs.com/api/assert/#method_deepequal
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