Fix spec violations in spec/frontend/packages_and_registries/package_registry/pages/details_spec.js
Problem description
This spec file contains technical debt and/or antipatterns that need to be fixed. This is a prerequisite for updating our codebase to Vue3
.
Proposal
The following issues have been identified in this spec file:
- spying on methods
Please see the related epic for more details on how these violations can be addressed.