mirror of
https://github.com/scratchfoundation/scratch-html5.git
synced 2024-12-11 00:02:22 -05:00
37 lines
726 B
JavaScript
37 lines
726 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',
|
|
'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'
|
|
]
|
|
})}
|