Follow-up from "Apply new GitLab UI for learn more button in time tracking in MR sidebar"
The following discussion from !54142 (merged) should be addressed:
-
@aturinske started a discussion: I would normally suggest that you update the tests, but I see there are none for most of the files in this directory (https://gitlab.com/gitlab-org/gitlab/-/tree/master/spec/frontend/sidebar/components/time_tracking).
As this is not in the scope of this MR, I am going to create a follow-up to create tests for all of these components.
Implementation
-
frontend create tests for javascripts/sidebar/components/time_tracking/help_state.vue
by creating the new file,help_state_spec.js
, at spec/frontend/sidebar/components/time_tracking- look at time_tracker.vue and its tests for some examples
Edited by Wilson Pinto