New boilerplate
This commit is contained in:
@@ -12,9 +12,8 @@ module.exports = function(config) {
|
||||
|
||||
// list of files / patterns to load in the browser
|
||||
files: [
|
||||
'utils/es5-shim.js',
|
||||
'es5-shim.js',
|
||||
'tests/**/*.js'
|
||||
// 'server/**/*.js'
|
||||
],
|
||||
|
||||
|
||||
@@ -27,7 +26,6 @@ module.exports = function(config) {
|
||||
// available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
|
||||
preprocessors: {
|
||||
'tests/**/*.js': ['browserify']
|
||||
// 'server/**/*.js': ['browserify']
|
||||
},
|
||||
|
||||
|
||||
@@ -57,7 +55,7 @@ module.exports = function(config) {
|
||||
|
||||
|
||||
// enable / disable watching file and executing tests whenever any file changes
|
||||
autoWatch: false,
|
||||
autoWatch: true,
|
||||
|
||||
|
||||
// start these browsers
|
||||
@@ -68,6 +66,6 @@ module.exports = function(config) {
|
||||
|
||||
// Continuous Integration mode
|
||||
// if true, Karma captures browsers, runs the tests and exits
|
||||
singleRun: true
|
||||
singleRun: false
|
||||
});
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user