diff --git a/.babelrc b/.babelrc index 7ef51374cd..a34308e711 100644 --- a/.babelrc +++ b/.babelrc @@ -62,6 +62,20 @@ } ] ] + }, + "test": { + "presets": [ + "@babel/preset-env", + [ + "@babel/preset-react", + { + "runtime": "automatic" + } + ] + ], + "plugins": [ + "babel-plugin-styled-components" + ] } }, "plugins": [ diff --git a/client/modules/IDE/components/Header/__snapshots__/Nav.unit.test.jsx.snap b/client/modules/IDE/components/Header/__snapshots__/Nav.unit.test.jsx.snap index d9140653c1..290528582a 100644 --- a/client/modules/IDE/components/Header/__snapshots__/Nav.unit.test.jsx.snap +++ b/client/modules/IDE/components/Header/__snapshots__/Nav.unit.test.jsx.snap @@ -211,7 +211,7 @@ exports[`Nav renders dashboard version for mobile 1`] = ` -ms-flex-direction: column; flex-direction: column; gap: 0.16666666666666666rem; - box-shadow: rgba(60,64,67,0.3) 0px 1px 2px 0px, rgba(60,64,67,0.15) 0px 1px 3px 1px; + box-shadow: rgba(60,64,67,0.3) 0px 1px 2px 0px,rgba(60,64,67,0.15) 0px 1px 3px 1px; min-width: 10rem; border-radius: 0.16666666666666666rem; } @@ -324,7 +324,7 @@ exports[`Nav renders dashboard version for mobile 1`] = ` >