Fix spec violations in custom_notifications_modal_spec.js
What does this MR do and why?
Fixes spec violations in https://gitlab.com/gitlab-org/gitlab/-/tree/master/spec/frontend/notifications/components/custom_notifications_modal_spec.js by removing .setData()
usage.
Screenshots or screen recordings
N/A
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #390964 (closed)
Edited by Martin Wortschack