aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server/karma.conf.js
diff options
context:
space:
mode:
authorJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>2014-03-20 16:27:16 +0100
committerJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>2014-03-20 16:49:40 +0100
commitdca0f6b36622162286f8a880e0ae73d509e53825 (patch)
treecbddcf8a2ab53478d3b240b1e2c7cdb958c65f5a /sonar-server/karma.conf.js
parent90431143eb37efe5bc25a5ffb414d0db97bf1ce9 (diff)
downloadsonarqube-dca0f6b36622162286f8a880e0ae73d509e53825.tar.gz
sonarqube-dca0f6b36622162286f8a880e0ae73d509e53825.zip
Run JS tests on maven test phase
Diffstat (limited to 'sonar-server/karma.conf.js')
-rw-r--r--sonar-server/karma.conf.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/sonar-server/karma.conf.js b/sonar-server/karma.conf.js
index 09d37706938..de6a2a042a2 100644
--- a/sonar-server/karma.conf.js
+++ b/sonar-server/karma.conf.js
@@ -14,7 +14,7 @@ module.exports = function(config) {
config.set({
// base path, that will be used to resolve files and exclude
- basePath: 'src/main/webapp/javascripts',
+ basePath: 'src/main/webapp/js',
// frameworks to use
@@ -26,7 +26,7 @@ module.exports = function(config) {
// dependencies
'third-party/jquery.js',
'third-party/underscore.js',
- 'third-party/require.js',
+ 'require.js',
'translate.js',
'common/inputs.js',
@@ -76,7 +76,7 @@ module.exports = function(config) {
coverageReporter: {
- type : 'text',
+ type : 'lcovonly',
dir : '../../../../target/karma/coverage/'
},