Add complementary tests for diffs to assert track metrics calls
-
Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA
What does this MR do and why?
Add complementary tests for diffs to assert track metrics calls.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
npm run jest diffs/components/app_spec.js
Related to #357915
Edited by 🤖 GitLab Bot 🤖