Permalink
Browse files

No issue: don't filter by (error) in tests.

THIS COMMIT INTENTIONALLY BREAKS THE BUILD. We've been missing many
"Too many errors" situations in the test runner.
  • Loading branch information...
1 parent f0dc440 commit 9e29aae3781b467ef8dead4c9d5041b5480a8538 @valueof valueof committed Jan 27, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/helpers/testhelper.js
View
2 tests/helpers/testhelper.js
@@ -51,7 +51,7 @@ exports.setup.testRun = function (test, name) {
test: function (source, options, globals) {
var ret = !!JSHINT(source, options, globals);
var errors = JSHINT.errors.filter(function (er) {
- return er && er.id === "(error)";
+ return er;
});
if (errors.length === 0 && definedErrors.length === 0) {

0 comments on commit 9e29aae

Please sign in to comment.