Skip to content

Commit

Permalink
Lint the tests (and fix a couple lint errors)
Browse files Browse the repository at this point in the history
  • Loading branch information
lilith committed Jan 6, 2015
1 parent 3fa66bf commit a522546
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ module.exports = function (grunt) {
},
'jshint': {
slimmage: ['slimmage.js'],
unit_tests: ['test/spec/tests.js', 'test/wd/*.js', 'test/desireds.js']

}
});
Expand Down
4 changes: 2 additions & 2 deletions test/wd/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ exports.widthToBeWithin = function(selector, expected_width,tolerance) {
.getSize()
// condition implemented with chai as promised
.then(function(size) {
var w = expected_width
var w = expected_width;
var a = w - tolerance;
var b = w + tolerance;
size.width.should.be.within(a,b);
Expand Down Expand Up @@ -57,6 +57,6 @@ exports.asserter = function (fn) {
.catch(tagChaiAssertionError); // tag errors for retry in catch.
}
);
}
};


0 comments on commit a522546

Please sign in to comment.