-
Notifications
You must be signed in to change notification settings - Fork 668
Setting showDeprecationWarnings to false does not hide attachToDocument deprecation warnings. #1545
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
Comments
phiter
added a commit
to phiter/vue-test-utils
that referenced
this issue
May 13, 2020
phiter
added a commit
to phiter/vue-test-utils
that referenced
this issue
May 13, 2020
13 tasks
Thanks. I will tackle these deprecation warnings this weekend. We definitely did not handle this well or thoroughly enough. I will also make the PR template less annoying, not every issue needs a repro. |
@lmiller1990 I have fixed it already in my PR but I can't get the test working, can you check it? |
lmiller1990
pushed a commit
that referenced
this issue
May 14, 2020
This will go out in the next few days |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
1.0.0
Reproduction link
vue-test-utils/packages/shared/validate-options.js
Lines 36 to 40 in 44ac570
Steps to reproduce
config.showDeprecationWarnings = false;
attachToDocument
to true in one of your mount functions.What is expected?
Deprecation warnings should not be shown
What is actually happening?
They are showing
I didn't make a reproduction repository because the error is simple and I linked the exact line with the issue above. That line should use
warnDeprecated
instead ofwarn
.There should also be a unit test to cover
attachToDocument
. I noticed that there is a single test to check if this config works.vue-test-utils/test/specs/config.spec.js
Lines 104 to 117 in 44ac570
The text was updated successfully, but these errors were encountered: