Skip to content
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

Merged
merged 1 commit into from
Jan 17, 2019
Merged

fix(examples): use testURL and module names #4777

merged 1 commit into from
Jan 17, 2019

Conversation

posva
Copy link
Collaborator

@posva posva commented Jan 16, 2019

Types of changes

  • Bug fix (a non-breaking change which fixes an issue)
  • New feature (a non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Other: updated example

Description

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly. (PR: #)
  • I have added tests to cover my changes (if not applicable, please state why)
  • All new and existing tests are passing.

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)

TheAlexLichter
TheAlexLichter previously approved these changes Jan 16, 2019
@codecov-io
Copy link

codecov-io commented Jan 16, 2019

Codecov Report

Merging #4777 into dev will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           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.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9eab558...262d044. Read the comment docs.

Copy link
Member

@pi0 pi0 left a 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/"
Copy link
Member

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)

Copy link
Collaborator Author

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

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the clarification.

@pi0 pi0 changed the title fix(example): use testURL and module names fix(examples): use testURL and module names Jan 17, 2019
@pi0 pi0 merged commit c83bcb0 into nuxt:dev Jan 17, 2019
@posva posva deleted the examples/jest-vtu branch January 17, 2019 21:45
@danielroe danielroe added the 2.x label Jan 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants