From: Aleksander Ɓukasz Date: Thu, 3 Oct 2013 14:15:53 +0000 (+0200) Subject: linting X-Git-Url: https://git.mdrn.pl/fnpeditor.git/commitdiff_plain/42c62a9c47f2d316ae1e0c8c854da72a4d3f1243?ds=inline linting --- 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({