Fix spec violations in spec/frontend/notes/components/comment_form_spec.js

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

This spec file has some technical debt and/or antipatterns that need to be fixed before we can update our codebase to Vue3. This file may contain potential violations such as:

  • spying on methods
  • .setData() usage
  • overriding method behaviour
  • wrapper.vm or childComponent.vm modification
  • Vue.extend

Please see the related epic for more details on how these violations can be addressed.

Edited by 🤖 GitLab Bot 🤖