Skip to content

Abstract repeatedly used logic into functions

Savas Vedova requested to merge 383545-refactor-mr-security-reports-file into master

What does this MR do and why?

The mr_widget_security_reports_spec file grew a lot as a result of many separate MRs. This MR refactors the file and abstracts commonly used logic into functions.

Screenshots or screen recordings

Nothing visual, only test file got refactored.

How to set up and validate locally

  1. Run yarn jest

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #383545 (closed)

Merge request reports