Skip to content

Commit 5a0d5dc

Browse files
authored
chore(doc):Add babel preset css prop to jest-preprocess.js (#22181)
1 parent dbf1d3f commit 5a0d5dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/testing-css-in-js.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ If you followed along with the [Unit testing guide](/docs/unit-testing) you'll h
2222

2323
```diff:title=jest-preprocess.js
2424
const babelOptions = {
25-
presets: ["babel-preset-gatsby"],
25+
~ presets: ["babel-preset-gatsby", "@emotion/babel-preset-css-prop"],
2626
+ plugins: [
2727
+ "emotion",
2828
+ ],

0 commit comments

Comments
 (0)