Refactoring: getting rid of old 'test3' regexp for tests lookup
[fnpeditor.git] / tests / main.js
index 8e17cdc..cd62786 100644 (file)
@@ -1,6 +1,6 @@
 (function() {
 
-    mocha.setup('tdd');
+    mocha.setup('bdd');
 
     var tests = Object.keys(window.__karma__.files).filter(function (file) {
       return /\.test\.js$/.test(file);
             'libs/backbone-min': {
                 exports: 'Backbone',
                 deps: ['libs/jquery-1.9.1.min', 'libs/underscore-min']
+            },
+            'libs/sinon-1.7.3': {
+                exports: 'sinon'
+            }
+        },
+        map: {
+            '*': {
+                'libs/sinon': 'libs/sinon-1.7.3'
             }
         }
     });