Updating NPM dependencies
This commit is contained in:
4
node_modules/babel-jest/README.md
generated
vendored
4
node_modules/babel-jest/README.md
generated
vendored
@@ -4,7 +4,7 @@
|
||||
|
||||
## Usage
|
||||
|
||||
If you are already using `jest-cli`, just add `babel-jest` and it will automatically compile JavaScript code using Babel.
|
||||
If you are already using `jest-cli`, add `babel-jest` and it will automatically compile JavaScript code using Babel.
|
||||
|
||||
```bash
|
||||
yarn add --dev babel-jest @babel/core
|
||||
@@ -20,6 +20,6 @@ To explicitly define `babel-jest` as a transformer for your JavaScript code, map
|
||||
|
||||
```json
|
||||
"transform": {
|
||||
"^.+\\.[t|j]sx?$": "babel-jest"
|
||||
"\\.[jt]sx?$": "babel-jest"
|
||||
},
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user