Avoid usage of toBeTruthy/toBeFalsy in `ee/spec/frontend`
What does this MR do and why?
Related to &8422 (closed)
We want to set eslint rule to prevent usage of toBeTruthy and toBeFalsy as set in frontend testing guide for https://docs.gitlab.com/ee/development/testing_guide/frontend_testing.html#avoid-using-tobetruthy-or-tobefalsy
Before applying this rule we have to fix existing usages of toBeTruthy/toBeFalsy in our tests
This MR fixes files:
ee/spec/frontend/epic/components/epic_form_spec.jsee/spec/frontend/geo_node_form/components/geo_node_form_selective_sync_spec.jsee/spec/frontend/geo_node_form/components/geo_node_form_spec.jsee/spec/frontend/geo_settings/components/geo_settings_form_spec.jsee/spec/frontend/oncall_schedule/add_edit_schedule_form_spec.jsee/spec/frontend/related_items_tree/components/create_epic_form_spec.jsee/spec/frontend/requirements/components/requirement_form_spec.jsee/spec/frontend/roadmap/components/preset_quarters/quarters_header_item_spec.jsee/spec/frontend/security_configuration/api_fuzzing/utils_spec.jsee/spec/frontend/security_configuration/dast_profiles/dast_profiles_sidebar/dast_profiles_sidebar_spec.jsee/spec/frontend/security_dashboard/components/instance/project_manager_spec.jsee/spec/frontend/security_dashboard/components/pipeline/security_dashboard_table_spec.jsee/spec/frontend/security_dashboard/components/shared/vulnerabilities_over_time_chart_buttons_spec.jsee/spec/frontend/security_dashboard/store/modules/vulnerabilities/mutations_spec.jsee/spec/frontend/usage_quotas/storage/components/namespace_storage_app_spec.jsee/spec/frontend/vue_shared/purchase_flow/components/step_spec.jsee/spec/frontend/vue_shared/security_reports/components/dismissal_comment_box_spec.jsee/spec/frontend/vue_shared/security_reports/components/modal_footer_spec.jsee/spec/frontend/vulnerabilities/header_spec.jsee/spec/frontend/vulnerabilities/vulnerability_training_spec.js
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
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.
Edited by Laurent Deketelaere