Follow-up from "WIP: Move monitoring dashboard_spec to Jest"
- Make
mockMontitoringUtils
more generic and move tomocks_helper
- Move
setupComponentStore
out ofdashboard_spec.js
Please view the following MR and discussion for context:
The following discussion from !32571 (merged) should be addressed:
-
@winh started a discussion: (+3 comments) can we make this either a generic helper thing or check if we can reuse the one in
spec/frontend/mocks/mocks_helper.js
?