5 var tests = Object.keys(window.__karma__.files).filter(function (file) {
6 return (/\.test\.js$/).test(file);
10 // This installs noop i18n functions so that tests can work with i18nized code
11 window.gettext = window.interpolate = function() {
12 return Array.prototype.slice.call(arguments, 0);
16 baseUrl: '/base/src/editor',
18 callback: window.__karma__.start,
23 'smartxml': '../smartxml',
30 'libs/jquery': '../../libs/jquery-1.9.1.min',
31 'libs/underscore': '../../libs/underscore-min',
32 'libs/bootstrap': '../../libs/bootstrap/js/bootstrap.min',
33 'libs/backbone': '../../libs/backbone-min',
34 'libs/sinon': '../../libs/sinon-1.7.3'
39 '../../libs/jquery-1.9.1.min': {
42 '../../libs/underscore-min': {
45 '../../libs/bootstrap/js/bootstrap.min': {
48 '../../libs/backbone-min': {
50 deps: ['libs/jquery', 'libs/underscore']
52 '../../libs/sinon-1.7.3': {