Skip to content

Commit 759c270

Browse files
committed
add linting and fix cs on config test
1 parent 85243af commit 759c270

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@
7979
"sinon": "^4.1.2"
8080
},
8181
"scripts": {
82+
"pretest": "eslint *.js lib/*.js test/*.js bin/*",
8283
"test": "make test-cov"
8384
}
8485
}

test/config_test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ lab.experiment('config', function () {
137137
Code.expect(current.settings.driver).to.equal('postgres');
138138
Code.expect(current.settings.user).to.equal('uname');
139139
Code.expect(current.settings.password).to.equal('pw');
140-
Code.expect(current.settings.host ).to.equal('server.com');
140+
Code.expect(current.settings.host).to.equal('server.com');
141141
Code.expect(current.settings.database).to.equal('dbname');
142142
done();
143143
}

0 commit comments

Comments
 (0)