Replaced toBeTruthy and toBeFalsy with specific matchers
What does this MR do and why?
This merge request addresses issue #369659 (closed)
-
Line 79 changed matcher
toBeTruthytotoBeInstanceOf(GitLabDropdown)which is the instance type oftest.sidebarMoveIssue.$dropdownToggle.data('deprecatedJQueryDropdown'). -
Changed matcher
toBeTruthyortoBeFalsytotoBe(true)ortoBe(false)respectively for testing props
Screenshots or screen recordings
n/a
How to set up and validate locally
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.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by William Wang