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