Commit 7af4dc13 authored by Illya Klymov's avatar Illya Klymov

Add deprecation handler for @vue/test-utils

- make allowed deprecations list as small as possible
parent 38415d70
......@@ -65,8 +65,6 @@ testUtilsConfig.deprecationWarningHandler = (method, message) => {
// https://gitlab.com/gitlab-org/gitlab/-/issues/295680
'finding components with `findAll`',
'options.attachToDocument is deprecated in favor of options.attachTo and will be removed in a future release',
];
if (!ALLOWED_DEPRECATED_METHODS.includes(method)) {
global.console.error(message);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment