-
Notifications
You must be signed in to change notification settings - Fork 670
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
Adding babel config inside "using-with-jest.md" #1667
Adding babel config inside "using-with-jest.md" #1667
Conversation
Adding more detailed "using with babel" paragraph since it was not fully complete and required additional steps that were not present in documentation. #1666
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.
LGTM, small change if you can! Thanks!
PS this is marked as WIP - are you intending on doing more changes?
docs/installation/using-with-jest.md
Outdated
> **Note:** If you are using Babel 7 or higher, you will need to add [babel-bridge](https://github.com/babel/babel-bridge) to your devDependencies (`$ npm install --save-dev babel-core@^7.0.0-bridge.0`). | ||
### Using with Babel | ||
|
||
If you are goind to use `babel` and import vue single file components with `.vue` extension inside your tests, you will need to install babel and transform `.js` files with `babel-jest` . |
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.
If you are going (going typo)
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.
Yes, excuse me, missed it, i should auto check for typos next time around.
docs/installation/using-with-jest.md
Outdated
```json | ||
{ | ||
"jest": { | ||
... |
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.
Can we remove the ...
and comment so people can easily copy paste this?
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.
Removed those.
Marked WIP because i knew there were some other small final changes to be made (and there were few). Its ready for review now. |
Thanks! |
Adding more detailed "using with babel" paragraph since it was not fully complete and required
additional steps that were not present in using-with-jest documentation section.
#1666
What kind of change does this PR introduce? (check at least one)
Adding more description to docs
Does this PR introduce a breaking change? (check one)
The PR fulfills these requirements:
dev
branch.fix #xxx[,#xxx]
, where "xxx" is the issue number)There is no need for new tests, as all
.md
formatting tests pass.If adding a new feature, the PR's description includes:
Other information: