X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/efe36f4f1b5df351eeb4d40a54c3900cf9a7079b..3b0a39df2e007f33b027b665f0f42604aecfc8b9:/tests/main.js diff --git a/tests/main.js b/tests/main.js index 87eb6b2..a05c379 100644 --- a/tests/main.js +++ b/tests/main.js @@ -3,7 +3,7 @@ mocha.setup('bdd'); var tests = Object.keys(window.__karma__.files).filter(function (file) { - return /\.test\.js$/.test(file); + return (/\.test\.js$/).test(file); }); require({ @@ -13,7 +13,8 @@ paths: { 'fnpjs': '../fnpjs', - 'libs': '../../libs' + 'libs': '../../libs', + 'smartxml': '../smartxml' }, map: {