mirror of
https://github.com/scratchfoundation/scratch-html5.git
synced 2024-12-01 03:16:59 -05:00
36 lines
718 B
JavaScript
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'
|
|
]
|
|
})}
|