Skip to content
10 changes: 8 additions & 2 deletions .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@
],
"plugins": [
"babel-plugin-styled-components",
"@babel/plugin-proposal-class-properties"
]
"@babel/plugin-proposal-class-properties",
"@babel/plugin-transform-runtime"
],
"env": {
"test": {
"presets": ["@babel/preset-env"]
}
}
}
3 changes: 3 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
setupFilesAfterEnv: ['<rootDir>/test/setup-test']
}
Loading