Follow-up from "Update documentation on mr widgets"
The following [discussion](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/158902#note_1992863767) from !158902 should be addressed:
> Also, maybe a good follow-up would be to add some guidance on writing tests for the widget: testing conditions for mounting the widget in [`app_spec.js`](https://gitlab.com/gitlab-org/gitlab/-/blob/master/spec/frontend/vue_merge_request_widget/components/widget/app_spec.js) or [`ee/.../app_spec.js`](https://gitlab.com/gitlab-org/gitlab/-/blob/master/ee/spec/frontend/vue_merge_request_widget/components/widget/app_spec.js), remembering to [add the `POLL-INTERVAL` header to the mock data](https://gitlab.com/gitlab-org/gitlab/-/blob/master/ee/spec/frontend/vue_merge_request_widget/extensions/status_checks/index_spec.js#L52), etc.
issue