-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
fix(examples): use testURL and module names #4777
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #4777 +/- ##
=======================================
Coverage 90.82% 90.82%
=======================================
Files 67 67
Lines 2288 2288
Branches 569 569
=======================================
Hits 2078 2078
Misses 187 187
Partials 23 23 Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @posva 👍 💯
], | ||
"collectCoverage": true, | ||
"collectCoverageFrom": [ | ||
"<rootDir>/components/**/*.vue", | ||
"<rootDir>/pages/*.vue" | ||
] | ||
], | ||
"testURL": "http://localhost/" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't we specify default listen port here? (http://localhost:3000)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
apparently not, having just the hostname is enough to remove the SecurityError: localStorage is not available for opaque origins
error
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the clarification.
Types of changes
Description
Checklist:
I updated the jest example by removing unnecessary that I have found to create problem when having multiple version of babel. I also added the testURL property (jsdom/jsdom#2304)