X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/a398f2a96740ebe6dd60559d90e74c648e7009af..988d47428991ee70383755b5b4f6d337d3049fee:/tests/main.js?ds=sidebyside diff --git a/tests/main.js b/tests/main.js index 8e17cdc..cc20549 100644 --- a/tests/main.js +++ b/tests/main.js @@ -1,9 +1,9 @@ (function() { - mocha.setup('tdd'); + mocha.setup('bdd'); var tests = Object.keys(window.__karma__.files).filter(function (file) { - return /\.test\.js$/.test(file); + return /\.test3\.js$/.test(file); }); require({ @@ -23,6 +23,14 @@ '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' } } });