Refactoring: aliasing requirejs module names
[fnpeditor.git] / tests / main.js
index cc20549..16154b7 100644 (file)
@@ -3,7 +3,7 @@
     mocha.setup('bdd');
 
     var tests = Object.keys(window.__karma__.files).filter(function (file) {
-      return /\.test3\.js$/.test(file);
+      return /\.test\.js$/.test(file);
     });
 
     require({
             'libs/jquery-1.9.1.min': {
                 exports: '$',
             },
-            'libs/underscore-min': {
+            'libs/underscore': {
                 exports: '_'
             },
             'libs/bootstrap/js/bootstrap.min': {
                 deps: ['libs/jquery-1.9.1.min']
             },
-            'libs/backbone-min': {
+            'libs/backbone': {
                 exports: 'Backbone',
-                deps: ['libs/jquery-1.9.1.min', 'libs/underscore-min']
+                deps: ['libs/jquery-1.9.1.min', 'libs/underscore']
             },
             'libs/sinon-1.7.3': {
                 exports: 'sinon'