Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 9e29aae3781b467ef8dead4c9d5041b5480a8538 1 parent f0dc440
@valueof valueof authored
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) {
Please sign in to comment.
Something went wrong with that request. Please try again.