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

Commit

Permalink
chore: update karma.conf for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
JackuB committed Feb 13, 2017
1 parent 9347da4 commit 68e749b
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,33 +2,20 @@

module.exports = function(config) {
config.set({

// base path that will be used to resolve all patterns (eg. files, exclude)
basePath: '',


// frameworks to use
// available frameworks: https://npmjs.org/browse/keyword/karma-adapter
frameworks: ['mocha', 'sinon'],
frameworks: ['mocha', 'chai'],


// list of files / patterns to load in the browser
files: [
'./tests/**/*.test.js'
],


// list of files to exclude
exclude: [
],


// preprocess matching files before serving them to the browser
// available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
preprocessors: {
},


// test results reporter to use
// possible values: 'dots', 'progress'
// available reporters: https://npmjs.org/browse/keyword/karma-reporter
Expand Down Expand Up @@ -59,7 +46,7 @@ module.exports = function(config) {

// Continuous Integration mode
// if true, Karma captures browsers, runs the tests and exits
singleRun: false,
singleRun: !!process.env.CI,

// Concurrency level
// how many browser should be started simultaneous
Expand Down

0 comments on commit 68e749b

Please sign in to comment.