linting
authorAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Thu, 3 Oct 2013 14:15:53 +0000 (16:15 +0200)
committerAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Wed, 9 Oct 2013 14:56:55 +0000 (16:56 +0200)
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({