Resolve "Migrate spec/frontend/commit/commit_pipeline_status_component_spec.js to Jest"
What does this MR do?
This MR contains porting of existing Karama tests for commit_pipeline_status_component from Karma to Jest
- fixed bug with component with wrong hook name (
destroy
-->beforeDestroy
) - rewritten code to be actual unit test by leveraging proper mocks
- using snapshots to check render logic
Screenshots
Does this MR meet the acceptance criteria?
Conformity
- [-] Changelog entry for user-facing changes, or community contribution. Check the link for other scenarios.
- [-] Documentation created/updated or follow-up review issue created
-
Code review guidelines - [-] Merge request performance guidelines
-
Style guides - [-] Database guides
- [-] Separation of EE specific content
Closes #67074 (moved)
Edited by Illya Klymov