linting
[fnpeditor.git] / tests / main.js
index 87eb6b2..ba4aa38 100644 (file)
@@ -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({