Skip to content

Mock mr_notes store in frontend tests (part 2)

!116292 (closed) was split and this is the second part


copied description:

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)

Merge request reports

Loading