8e17cdcbdb9f008f8c04d9e972447871a21fad83
[fnpeditor.git] / tests / main.js
1 (function() {
2
3     mocha.setup('tdd');
4
5     var tests = Object.keys(window.__karma__.files).filter(function (file) {
6       return /\.test\.js$/.test(file);
7     });
8
9     require({
10       baseUrl: '/base/',
11       deps: tests,
12       callback: window.__karma__.start,
13         shim: {
14             'libs/jquery-1.9.1.min': {
15                 exports: '$',
16             },
17             'libs/underscore-min': {
18                 exports: '_'
19             },
20             'libs/bootstrap/js/bootstrap.min': {
21                 deps: ['libs/jquery-1.9.1.min']
22             },
23             'libs/backbone-min': {
24                 exports: 'Backbone',
25                 deps: ['libs/jquery-1.9.1.min', 'libs/underscore-min']
26             }
27         }
28     });
29
30 })();