Fix spec violations in spec/frontend/ide/components/terminal/terminal_spec.js
<!--IssueSummary start--> <details> <summary> Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards. </summary> - [Work on this issue](https://contributors.gitlab.com/manage-issue?action=work&projectId=278964&issueIid=390991) - [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=390991) </details> <!--IssueSummary end--> ### Problem description The spec file `spec/frontend/ide/components/terminal/terminal_spec.js` 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: * `.setData() usage` Please see [the related epic](https://gitlab.com/groups/gitlab-org/-/epics/5102#plan) for more details on how these violations can be addressed.
issue