Skip to content
This repository has been archived by the owner on Nov 22, 2019. It is now read-only.

Commit

Permalink
Karma tests are now being run with the maven build.
Browse files Browse the repository at this point in the history
  • Loading branch information
elvisisking committed Oct 30, 2017
1 parent 817c6b8 commit 6398f0c
Show file tree
Hide file tree
Showing 4 changed files with 445 additions and 67 deletions.
28 changes: 9 additions & 19 deletions ngapp/karma.conf.js
Expand Up @@ -7,27 +7,17 @@ module.exports = function (config) {
frameworks: ['jasmine', '@angular/cli'],
plugins: [
require('karma-jasmine'),
require('karma-chrome-launcher'),
require('karma-jasmine-html-reporter'),
require('karma-coverage-istanbul-reporter'),
require('karma-phantomjs-launcher' ),
require('karma-junit-reporter'),
require('@angular/cli/plugins/karma')
],
client:{
clearContext: false // leave Jasmine Spec Runner output visible in browser
junitReporter : {
// .../beetle-studio/target/karma-reports/*.xml
outputDir : '../../target/karma-reports/'
},
coverageIstanbulReporter: {
reports: [ 'html', 'lcovonly' ],
fixWebpackSourcePaths: true
},
angularCli: {
environment: 'dev'
},
reporters: ['progress', 'kjhtml'],
port: 9876,
colors: true,
logLevel: config.LOG_INFO,
autoWatch: true,
browsers: ['Chrome'],
singleRun: false
reporters: ['junit'],
autoWatch: false,
browsers: [ 'PhantomJS' ],
singleRun: true
});
};

0 comments on commit 6398f0c

Please sign in to comment.