Skip to content

Replaced usage of toBeTruthy / toBeFalsy

What does this MR do and why?

Replaced Avoid usage of toBeTruthy with toBe(true) and toBeFalsy with toBe(false) in ee/spec/frontend/vue_shared/security_reports/components/dismissal_comment_box_toggle_spec.js

Resolves the issue

Screenshots or screen recordings

Screenshot_2022-08-06_at_9.35.39_PM

How to set up and validate locally

  1. Navigate to gitlab directory
  2. Run yarn jest spec/frontend/vue_shared/security_reports/components/dismissal_comment_box_toggle_spec.js

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 #369786 (closed)

Edited by Shreedhar Bhat

Merge request reports

Loading