X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/3ef4adb18d58aa2570142c19762e4f2a48cb0d1b..540ab2ebda6121a52a15f82e531ef8ba558024b1:/tests/main.js diff --git a/tests/main.js b/tests/main.js new file mode 100644 index 0000000..8a093d9 --- /dev/null +++ b/tests/main.js @@ -0,0 +1,15 @@ +(function() { + + mocha.setup('tdd'); + + var tests = Object.keys(window.__karma__.files).filter(function (file) { + return /\.test\.js$/.test(file); + }); + + require({ + baseUrl: '/base/', + deps: tests, + callback: window.__karma__.start + }); + +})(); \ No newline at end of file