Mock mr_notes store in frontend tests (part 3)
What does this MR do and why?
Mocks '~/mr_notes/stores
in frontend component tests as documented in https://docs.gitlab.com/ee/development/testing_guide/testing_levels.html#frontend-component-tests:
What to mock in component tests
- Vuex store: To avoid side effects and keep component tests simple, Vuex stores are replaced with mocks.
Solves !116180 (comment 1334377978):
-
https://gitlab.com/gitlab-community/gitlab/-/jobs/4027028929 -
https://gitlab.com/gitlab-community/gitlab/-/jobs/4027028933 -
https://gitlab.com/gitlab-community/gitlab/-/jobs/4027028939 -
https://gitlab.com/gitlab-community/gitlab/-/jobs/4027028940 -
https://gitlab.com/gitlab-community/gitlab/-/jobs/4027028943 -
https://gitlab.com/gitlab-community/gitlab/-/jobs/4027028945 -
https://gitlab.com/gitlab-community/gitlab/-/jobs/4027028947
Edited by Winnie