scratch-html5/config/karma.conf.js

36 lines
718 B
JavaScript

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'
],
exclude : [
],
preprocessors: {
'*.html': ['html2js']
},
autoWatch : true,
frameworks: ['jasmine'],
browsers : ['Chrome'],
plugins : [
'karma-jasmine',
'jasmine-jquery',
'karma-html2js-preprocessor',
'karma-chrome-launcher',
'karma-firefox-launcher'
]
})}