Lint against setImmediate usage in specs
This does not replace some instances of `setImmediate` in helpers and test environment configuration files, as these are well-contained, and can be rewritten later, if need be. The addition of the lint rule should prevent more usages of `setImmediate` appearing. This is the final part of https://gitlab.com/gitlab-org/gitlab/-/issues/344247.
显示
- .eslintrc.yml 2 个添加, 0 个删除.eslintrc.yml
- spec/frontend/__helpers__/flush_promises.js 1 个添加, 0 个删除spec/frontend/__helpers__/flush_promises.js
- spec/frontend/__helpers__/mocks/axios_utils.js 2 个添加, 0 个删除spec/frontend/__helpers__/mocks/axios_utils.js
- spec/frontend/__helpers__/vuex_action_helper.js 1 个添加, 0 个删除spec/frontend/__helpers__/vuex_action_helper.js
- spec/frontend/environment.js 1 个添加, 0 个删除spec/frontend/environment.js
- spec/frontend/test_setup.js 1 个添加, 0 个删除spec/frontend/test_setup.js
想要评论请 注册 或 登录