Skip to content

Refactor branch_switcher specs

Frédéric Caplette requested to merge fc-refactor-branch-switcher into master

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 only shallowMount

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.

Edited by Frédéric Caplette

Merge request reports

Loading