X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/2d0b2293c1110c3fab4e804be31bc233a4159bcb..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({