Refactor branch_switcher specs
What does this MR do and why?
Refactor branch_switcher specs
- Avoid mocking apollo loading states
- Remove the setting of data on mount
- Leverate Apollo mocking
- Remove localVue
- Restructure some specs for clarity
- Remove usage of
mount
and keep onlyshallowMount
This should also help with the Vue3 migration.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
No visual changes
How to set up and validate locally
Green pipeline is
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Frédéric Caplette