gitlab-org--gitlab-foss/spec/frontend/__helpers__
2021-01-20 09:10:52 +00:00
..
dom_shims
backoff_helper.js
class_spec_helper.js
class_spec_helper_spec.js
datetime_helpers.js
dom_events_helper.js
emoji.js
experimentation_helper.js
fake_date.js
fake_date_spec.js
fake_request_animation_frame.js
filtered_search_spec_helper.js
fixtures.js
init_vue_mr_page_helper.js
jest_helpers.js
jquery.js
keep_alive_component_helper.js
keep_alive_component_helper_spec.js
local_storage_helper.js
local_storage_helper_spec.js
locale_helper.js
mock_apollo_helper.js
mock_dom_observer.js
mock_window_location_helper.js
README.md
set_timeout_promise_helper.js
set_window_location_helper.js
set_window_location_helper_spec.js
stub_children.js
stub_component.js
stub_transition.js
test_constants.js
text_helper.js
timeout.js
tracking_helper.js
user_mock_data_helper.js
vue_mock_directive.js
vue_mount_component_helper.js
vue_test_utils_helper.js
vue_test_utils_helper_spec.js
vuex_action_helper.js
vuex_action_helper_spec.js
wait_for_promises.js
wait_for_text.js
wait_using_real_timer.js
web_worker_mock.js

This folder contains helpers to be used in specs (and the specs for the helpers itself). There is a convenient alias of helpers/, so files in this folder (e.g. wait_for_promises) can be imported with helpers/wait_for_promises.

If you are writing a spec for ~/helpers application code, please place it in helpers.