Add tests for change type modal on work items
What does this MR do and why?
This MR is extension to the feature MR !166879 (merged). To reduce lines of code, we have divided the MR in two parts. This is the second MR which adds EE unit test and rspecs for change type modal on work items.
In addition, it covers following review comments from the feature MR
References
Please include cross links to any resources that are relevant to this MR. This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
N.A.
How to set up and validate locally
Prerequisite:
To run the jest tests, generate the fixture
bin/rspec ee/spec/frontend/fixtures/work_items.rb
Related to #385131 (closed)
Edited by Rajan Mistry