test(karma.conf.js): add karma and dependencies to allow testing
parent
952a4a4c73
commit
b86d7a6955
@ -0,0 +1,19 @@
|
|||||||
|
module.exports = function(config) {
|
||||||
|
config.set({
|
||||||
|
frameworks: ['browserify', 'jasmine'],
|
||||||
|
files: [
|
||||||
|
'bower_components/angular/angular.js',
|
||||||
|
'bower_components/angular-mocks/angular-mocks.js',
|
||||||
|
'hint.js',
|
||||||
|
'hintApp.js',
|
||||||
|
'hintCtrl.js',
|
||||||
|
'hintService.js',
|
||||||
|
'*_test.js'
|
||||||
|
],
|
||||||
|
exclude: [],
|
||||||
|
preprocessors: {
|
||||||
|
'hint.js': [ 'browserify' ]
|
||||||
|
},
|
||||||
|
browsers: ['Chrome'],
|
||||||
|
});
|
||||||
|
};
|
Reference in New Issue