client-ui
Version:
Testing implementation of nodeJs Backend, angular frontend, and hopefully in a way that this can be deployed to s3/cloudfront
39 lines (31 loc) • 972 B
JavaScript
module.exports = function(config) {
config.set({
// frameworks to use
frameworks: ['mocha', 'chai', 'sinon'],
// list of files / patterns to load in the browser
files: [
'**/app-prod.js',
'../lib/angular-mocks/angular-mocks.js',
'../../tests/unit/**/*.js'
],
basePath: 'generated/public/',
// test results reporter to use
reporters: ['progress','junit'],
junitReporter: {
outputFile: '../../junitresults.xml',
suite: ''
},
// start these browsers
browsers: ['PhantomJS'],
plugins: [
'karma-mocha',
'karma-chai',
'karma-sinon',
'karma-phantomjs-launcher',
'karma-junit-reporter'
],
// Continuous Integration mode
// if true, Karma captures browsers, runs the tests and exits
singleRun: true
});
};