summaryrefslogtreecommitdiff
path: root/web-ui/.babelrc
diff options
context:
space:
mode:
authorAnike Arni <aarni@thoughtworks.com>2017-02-08 10:55:10 -0200
committerAnike Arni <aarni@thoughtworks.com>2017-02-08 13:51:37 -0200
commit16190197f72ea242ae239dc2741e2887c7008dfa (patch)
tree829ca7f57d7f90af67d6ffe47346b0260609163a /web-ui/.babelrc
parent7f76c79319bf0817222fc88011fd870d97648963 (diff)
[#922] Add test coverage for new js files
Since this added a lot of scripts to our npm scripts, this commit also organizes the package.json. with @tayanefernandes
Diffstat (limited to 'web-ui/.babelrc')
-rw-r--r--web-ui/.babelrc7
1 files changed, 6 insertions, 1 deletions
diff --git a/web-ui/.babelrc b/web-ui/.babelrc
index 86c445f5..e74e4d82 100644
--- a/web-ui/.babelrc
+++ b/web-ui/.babelrc
@@ -1,3 +1,8 @@
{
- "presets": ["es2015", "react"]
+ "presets": ["es2015", "react"],
+ "env": {
+ "test": {
+ "plugins": ["istanbul"]
+ }
+ }
}