Description
Our components from the "base" folder were sometimes temporary, so we have jest.config.js configured to ignore them for our coverage calculation.
However, many of these components are gonna stay, so we should remove their paths from the ignore, and add unit tests.
Legend:
- 🆗 Leave untouched
- ❌ Remove from ignore: no tests needed
- ✅ Remove from ignore and write test!!
The components currently appearing in the ignore list:
- 🆗 Chip.vue: ignore, will be removed in the future
- 🆗 ChipContainer.vue: ignore, will be removed in the future
- ✅ CodeEditor.vue: remove from ignore and add tests
- ❌
Dialog.vue: remove from ignore, component doesn't exist - ❌
DialogContainer.vue: remove from ignore, component doesn't exist - ✅ ExpandedToggle.vue: remove from ignore and add tests (patch)
- ❌
LeaveEditorDialog.vue: remove from ignore, component doesn't exist - ✅ LocalizedLabel.vue: remove from ignore and add tests (patch)
- ✅ Pagination.vue: remove from ignore and add tests
- ❌
PublishDialog.vue: remove from ignore, component isn't there anymore - ❌
Select.vue: - 🆗 Table.vue: ignore, will be removed in the future
- ❌
Text.vue: remove from ignore and remove component!! - 🆗 Tooltip.vue: ignore, will likely be removed in the future
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#Front-end_Task/Bug_Completion_Checklist