Refactor packages and registries unit tests to use tracking_helper
What does this MR do and why?
Refactor packages and registries unit tests to use tracking helper
Makes tracking test code uniform
Relates to #462957 (closed)
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.
Screenshots or screen recordings
No change in UI
How to set up and validate locally
Locally run
yarn jest spec/frontend/packages_and_registries/ ee/spec/frontend/packages_and_registries spec/frontend/vue_shared/components/registry
to confirm tests are passing.
Edited by Rahul Chanila