Updates link_cell tests so they are compatible with Vue 3

What does this MR do and why?

This change updates the tests for the link_cell component so they don't depend on a vm object being available in all cases.

References

Related to &14981, there was no issue open in the epic but it addresses one of its problems.

How to set up and validate locally

Run the updated tests in both versions of Vue:

yarn run jest spec/frontend/ci/runner/components/cells/link_cell_spec.js
VUE_VERSION=3 yarn run jest spec/frontend/ci/runner/components/cells/link_cell_spec.js

Related to #14981 (closed)

Edited by Miguel Rincon

Merge request reports

Loading