Replace all calls to setImmediate with nextTick
setImmediate
was removed in Jest 27 and since our documentation mentions avoiding it we should replace all calls to setImmediate
with nextTick
.
Designs
- Show closed items
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Vitaly Slobodin added to epic &7002 (closed)
added to epic &7002 (closed)
- 🤖 GitLab Bot 🤖 added automation:ml groupfoundations labels
added automation:ml groupfoundations labels
- Maintainer
This issue was automatically tagged with the label groupfoundations by TanukiStan, a machine learning classification model, with a probability of 0.67.
If this label is incorrect, please tag this issue with the correct group label as well as automation:ml wrong to help TanukiStan learn from its mistakes.
This message was generated automatically. You're welcome to improve it.
- Maintainer
Setting label(s) devopsecosystem sectiondev based on groupfoundations.
- 🤖 GitLab Bot 🤖 added sectiondev + 1 deleted label
added sectiondev + 1 deleted label
- Vitaly Slobodin changed the description
Compare with previous version changed the description
- Vitaly Slobodin added test label
added test label
- Author Maintainer
The list with specs where we have
setImmediate
found by runningrg setImmediate {ee/,}spec/frontend/**/*_spec.js --files-with-matches
:spec/frontend/vue_shared/components/file_finder/index_spec.js spec/frontend/vue_shared/components/diff_viewer/viewers/image_diff_viewer_spec.js spec/frontend/vue_shared/components/diff_viewer/diff_viewer_spec.js spec/frontend/vue_shared/alert_details/alert_status_spec.js spec/frontend/vue_mr_widget/components/states/mr_widget_wip_spec.js spec/frontend/vue_mr_widget/components/states/mr_widget_ready_to_merge_spec.js spec/frontend/vue_mr_widget/components/states/mr_widget_merged_spec.js spec/frontend/vue_mr_widget/components/states/mr_widget_auto_merge_enabled_spec.js spec/frontend/vue_mr_widget/components/mr_widget_memory_usage_spec.js spec/frontend/sidebar/sidebar_move_issue_spec.js spec/frontend/sidebar/components/severity/sidebar_severity_spec.js spec/frontend/related_merge_requests/components/related_merge_requests_spec.js spec/frontend/prometheus_metrics/prometheus_metrics_spec.js spec/frontend/project_find_file_spec.js spec/frontend/pages/dashboard/todos/index/todos_spec.js spec/frontend/pager_spec.js spec/frontend/notes/deprecated_notes_spec.js spec/frontend/notebook/cells/prompt_spec.js spec/frontend/notebook/cells/code_spec.js spec/frontend/notebook/index_spec.js spec/frontend/notebook/cells/output/index_spec.js spec/frontend/mocks_spec.js spec/frontend/merge_request_spec.js spec/frontend/lib/utils/common_utils_spec.js spec/frontend/ide/stores/actions_spec.js spec/frontend/ide/components/new_dropdown/index_spec.js spec/frontend/ide/lib/common/model_spec.js spec/frontend/ide/components/commit_sidebar/list_item_spec.js spec/frontend/gl_form_spec.js spec/frontend/flash_spec.js spec/frontend/filtered_search/filtered_search_visual_tokens_spec.js spec/frontend/feature_flags/components/feature_flags_spec.js spec/frontend/error_tracking/components/error_tracking_list_spec.js spec/frontend/error_tracking/components/error_details_spec.js spec/frontend/diffs/store/actions_spec.js spec/frontend/confirm_modal_spec.js spec/frontend/ide/components/preview/clientside_spec.js spec/frontend/blob/viewer/index_spec.js spec/frontend/behaviors/shortcuts/shortcuts_issuable_spec.js spec/frontend/behaviors/copy_as_gfm_spec.js ee/spec/frontend/vue_mr_widget/ee_mr_widget_options_spec.js ee/spec/frontend/trial_registrations/username_suggester_spec.js ee/spec/frontend/notes/components/note_header_spec.js ee/spec/frontend/epic/components/epic_header_spec.js
Collapse replies - Maintainer
I've got a large commit which addresses all of these. I'll break it up into separate MRs and link them to this issue.
- Maintainer
All instances of this have now been removed (with exceptions), and linting has been added to prevent additions.
Closing!
- Mark Florian assigned to @markrian
assigned to @markrian
- Mark Florian mentioned in commit 438e0b28
mentioned in commit 438e0b28
- Mark Florian mentioned in commit 1d3e8952
mentioned in commit 1d3e8952
- Mark Florian mentioned in commit 8dcc8017
mentioned in commit 8dcc8017
- Mark Florian mentioned in commit 5636585e
mentioned in commit 5636585e
- Mark Florian mentioned in commit b5882579
mentioned in commit b5882579
- Mark Florian mentioned in commit 3dd74079
mentioned in commit 3dd74079
- Mark Florian mentioned in commit b6e356e5
mentioned in commit b6e356e5
- Mark Florian mentioned in commit d7fe2468
mentioned in commit d7fe2468
- Mark Florian mentioned in merge request !80328 (merged)
mentioned in merge request !80328 (merged)
- Mark Florian mentioned in commit c0649b74
mentioned in commit c0649b74
- Mark Florian mentioned in commit ca6b33c2
mentioned in commit ca6b33c2
- Mark Florian mentioned in commit 5078abf8
mentioned in commit 5078abf8
- Mark Florian mentioned in commit a7011919
mentioned in commit a7011919
- Mark Florian mentioned in commit 0d96668a
mentioned in commit 0d96668a
- Mark Florian mentioned in commit 66402171
mentioned in commit 66402171
- Mark Florian mentioned in commit fef04255
mentioned in commit fef04255
- Mark Florian mentioned in commit ef508353
mentioned in commit ef508353
- Mark Florian mentioned in commit 95f5d578
mentioned in commit 95f5d578
- Mark Florian mentioned in merge request !80367 (merged)
mentioned in merge request !80367 (merged)
- Mark Florian mentioned in commit f891a57e
mentioned in commit f891a57e
- Mark Florian mentioned in merge request !80368 (merged)
mentioned in merge request !80368 (merged)
- Mark Florian mentioned in commit 02509ff9
mentioned in commit 02509ff9
- Mark Florian mentioned in merge request !80369 (merged)
mentioned in merge request !80369 (merged)
- Mark Florian mentioned in commit 071d4de2
mentioned in commit 071d4de2
- Mark Florian mentioned in merge request !80370 (merged)
mentioned in merge request !80370 (merged)
- Mark Florian mentioned in commit bcff2d94
mentioned in commit bcff2d94
- Mark Florian mentioned in merge request !80371 (merged)
mentioned in merge request !80371 (merged)
- Mark Florian mentioned in commit c1a738ba
mentioned in commit c1a738ba
- Mark Florian mentioned in merge request !80372 (merged)
mentioned in merge request !80372 (merged)
- Mark Florian mentioned in commit 4d441ee4
mentioned in commit 4d441ee4
- Mark Florian mentioned in merge request !80373 (merged)
mentioned in merge request !80373 (merged)
- Mark Florian mentioned in commit 0fbe60a8
mentioned in commit 0fbe60a8
- Mark Florian mentioned in commit fc77acc2
mentioned in commit fc77acc2
- Mark Florian mentioned in commit 083f0f51
mentioned in commit 083f0f51
- Mark Florian mentioned in commit 5aba8a4a
mentioned in commit 5aba8a4a
- Mark Florian mentioned in commit 2bd072b0
mentioned in commit 2bd072b0
- Mark Florian mentioned in commit 737973f9
mentioned in commit 737973f9
- Mark Florian mentioned in commit 7d788870
mentioned in commit 7d788870
- Mark Florian mentioned in commit c532e3c4
mentioned in commit c532e3c4
- Mark Florian mentioned in commit ddfddd67
mentioned in commit ddfddd67
- Mark Florian closed
closed
- Diana Zubova mentioned in issue #342476 (closed)
mentioned in issue #342476 (closed)
- 🤖 GitLab Bot 🤖 added devopsmanage label and removed 1 deleted label
added devopsmanage label and removed 1 deleted label