not really known
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

21 lines
504 B

var tests = Object.keys(window.__karma__.files).filter(function (file) {
return (/Spec\.js$/).test(file);
});
requirejs.config({
// Karma serves files from '/base'
baseUrl: "/base",
paths: {
"sugar-web": ".",
"mustache": "lib/mustache",
"text": "lib/text",
"webL10n": "lib/webL10n"
},
// ask Require.js to load these files (all our tests)
deps: tests,
// start test run, once Require.js is done
callback: window.__karma__.start
});