You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/babel-jest/README.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,8 +18,18 @@ _Note: this step is only required if you are using `babel-jest` with additional
18
18
19
19
To explicitly define `babel-jest` as a transformer for your JavaScript code, map _.js_ files to the `babel-jest` module. Typescript files are also supported.
20
20
21
+
By default, it loads your existing Babel configuration (if any)
22
+
21
23
```json
22
24
"transform": {
23
25
"\\.[jt]sx?$": "babel-jest"
24
26
},
25
27
```
28
+
29
+
You can also pass further [babel options](https://babeljs.io/docs/options)
0 commit comments