diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-22 03:11:23 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-22 03:11:23 +0300 |
commit | 491783d8040f1f943c6fdd803ba0f1453dd074bd (patch) | |
tree | 5a9bb70fce0fedcc27fef24b0abf12f432718db8 /spec/frontend/__helpers__ | |
parent | 04d4cf89dbe213ad994badad4c8a9a3f2ccb754f (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/__helpers__')
-rw-r--r-- | spec/frontend/__helpers__/shared_test_setup.js | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/spec/frontend/__helpers__/shared_test_setup.js b/spec/frontend/__helpers__/shared_test_setup.js index 45a7b8e0352..62cfc8d560f 100644 --- a/spec/frontend/__helpers__/shared_test_setup.js +++ b/spec/frontend/__helpers__/shared_test_setup.js @@ -1,5 +1,4 @@ /* Common setup for both unit and integration test environments */ -import { config as testUtilsConfig } from '@vue/test-utils'; import * as jqueryMatchers from 'custom-jquery-matchers'; import Vue from 'vue'; import 'jquery'; @@ -44,16 +43,6 @@ Object.entries(jqueryMatchers).forEach(([matcherName, matcherFactory]) => { expect.extend(customMatchers); -testUtilsConfig.deprecationWarningHandler = (method, message) => { - const ALLOWED_DEPRECATED_METHODS = [ - // https://gitlab.com/gitlab-org/gitlab/-/issues/295679 - 'finding components with `find` or `get`', - ]; - if (!ALLOWED_DEPRECATED_METHODS.includes(method)) { - global.console.error(message); - } -}; - Object.assign(global, { requestIdleCallback(cb) { const start = Date.now(); |