From 7544d2a9c4f431fe7f338c096f1b0ef259996f8e Mon Sep 17 00:00:00 2001 From: Stephen Whitmore Date: Thu, 21 Apr 2016 13:20:51 -0700 Subject: [PATCH] Removes lint errors from tests. --- test/repo-test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/repo-test.js b/test/repo-test.js index 7bf32230..97dd9db0 100644 --- a/test/repo-test.js +++ b/test/repo-test.js @@ -27,7 +27,7 @@ module.exports = function (repo) { it('bad repo init 1', (done) => { function run () { - new Repo() + return new Repo() } expect(run).to.throw(Error) done() @@ -35,7 +35,7 @@ module.exports = function (repo) { it('bad repo init 2', (done) => { function run () { - new Repo('', {}) + return new Repo('', {}) } expect(run).to.throw(Error) done()