scratch-html5/config/karma.conf.js

38 lines
726 B
JavaScript
Raw Normal View History

module.exports = function(config){
config.set({
basePath : '../',
files : [
'test/artifacts/**/*.js',
'test/lib/**/*.js',
'test/unit/**/*.js',
'js/sound/SoundDecoder.js',
'js/sound/**/*.js',
'js/util/**/*.js',
'js/**/*.js',
'node_modules/jasmine-jquery/lib/jasmine-jquery.js',
'node_modules/underscore/underscore.js'
],
exclude : [
],
preprocessors: {
'*.html': ['html2js']
},
autoWatch : true,
frameworks: ['jasmine'],
browsers : ['Chrome'],
plugins : [
'karma-jasmine',
'jasmine-jquery',
'karma-html2js-preprocessor',
'karma-chrome-launcher',
'karma-firefox-launcher'
]
})}