X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/efe36f4f1b5df351eeb4d40a54c3900cf9a7079b..42c62a9c47f2d316ae1e0c8c854da72a4d3f1243:/tests/main.js diff --git a/tests/main.js b/tests/main.js index 87eb6b2..ba4aa38 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({