Skip to content

Commit

Permalink
Add babel plugin to handle async tests
Browse files Browse the repository at this point in the history
  • Loading branch information
luizbaldi committed Jul 11, 2019
1 parent 1084401 commit 5260860
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .babelrc
Expand Up @@ -10,7 +10,8 @@
],
"plugins": [
"babel-plugin-styled-components",
"@babel/plugin-proposal-class-properties"
"@babel/plugin-proposal-class-properties",
"@babel/plugin-transform-runtime"
],
"env": {
"test": {
Expand Down
18 changes: 15 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Expand Up @@ -42,6 +42,7 @@
"@babel/cli": "^7.4.3",
"@babel/core": "^7.4.3",
"@babel/plugin-proposal-class-properties": "^7.4.0",
"@babel/plugin-transform-runtime": "^7.5.0",
"@babel/preset-env": "^7.4.3",
"@babel/preset-react": "^7.0.0",
"@storybook/addon-actions": "^5.0.10",
Expand Down

0 comments on commit 5260860

Please sign in to comment.