Add testing for frontend metrics gathering
In https://gitlab.com/gitlab-org/gitlab/-/merge_requests/84320#note_900741454 @dzubova noted that we do not have ~frontend testing for the gathering of metrics in `app/assets/javascripts/diffs/components/app.vue`.
```js
api.trackRedisHllUserEvent('i_code_review_user_searches_diff');
api.trackRedisCounterEvent('diff_searches');
```
issue