Refactoring - moving key event handlers out of canvas object
[fnpeditor.git] / tests / main.js
1 (function() {
2
3     mocha.setup('bdd');
4
5     var tests = Object.keys(window.__karma__.files).filter(function (file) {
6       return /\.test3\.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             'libs/sinon-1.7.3': {
28                 exports: 'sinon'
29             }
30         },
31         map: {
32             '*': {
33                 'libs/sinon': 'libs/sinon-1.7.3'
34             }
35         }
36     });
37
38 })();