Skip to content

Commit

Permalink
Eslint the test file when running npm test.
Browse files Browse the repository at this point in the history
  • Loading branch information
vqvu committed Jul 8, 2016
1 parent 4db13e9 commit bed3cff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"uglify-js": "^2.6.1"
},
"scripts": {
"test": "eslint Gruntfile.js lib && nodeunit test/test.js"
"test": "eslint Gruntfile.js lib test/test.js && nodeunit test/test.js"
},
"dependencies": {
"util-deprecate": "^1.0.2"
Expand Down
1 change: 1 addition & 0 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -676,6 +676,7 @@ exports.constructor = {
try {
oldWrite.call(this, x);
} catch (e) {
// Ignore
}
};

Expand Down

0 comments on commit bed3cff

Please sign in to comment.