aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2015-11-02 14:24:14 +0100
committerStas Vilchik <vilchiks@gmail.com>2015-11-02 14:24:14 +0100
commitbb1b2431486ad60c2a976b0d88bc3718fc1c5596 (patch)
treed91999e84347a5e87d4e8adf7c96fd4fec4e7f9e /server
parent07bb9501605ea5c708eb178d19b4770b34a71d60 (diff)
downloadsonarqube-bb1b2431486ad60c2a976b0d88bc3718fc1c5596.tar.gz
sonarqube-bb1b2431486ad60c2a976b0d88bc3718fc1c5596.zip
drop coverage of jsx files
Diffstat (limited to 'server')
-rw-r--r--server/sonar-web/.istanbul.yml3
-rw-r--r--server/sonar-web/package.json2
2 files changed, 1 insertions, 4 deletions
diff --git a/server/sonar-web/.istanbul.yml b/server/sonar-web/.istanbul.yml
index 3bb29874399..323429a42c6 100644
--- a/server/sonar-web/.istanbul.yml
+++ b/server/sonar-web/.istanbul.yml
@@ -1,5 +1,2 @@
instrumentation:
root: 'src/main/js'
- extensions:
- - .js
- - .jsx
diff --git a/server/sonar-web/package.json b/server/sonar-web/package.json
index e73b954a6ac..bf2d15d8825 100644
--- a/server/sonar-web/package.json
+++ b/server/sonar-web/package.json
@@ -54,7 +54,7 @@
"build-fast": "gulp --fast",
"build": "gulp",
"test": "./node_modules/.bin/mocha --opts tests/mocha.opts tests",
- "coverage": "./node_modules/.bin/babel-node ./node_modules/.bin/isparta cover --dir './target/coverage' --include '**/*.js' --include '**/*.jsx' ./node_modules/.bin/_mocha -- --opts tests/mocha.opts tests"
+ "coverage": "./node_modules/.bin/babel-node ./node_modules/.bin/isparta cover --dir './target/coverage' ./node_modules/.bin/_mocha -- --opts tests/mocha.opts tests"
},
"browserify-shim": {
"jquery": "global:jQuery",