We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f27ac2 commit 7544d2aCopy full SHA for 7544d2a
test/repo-test.js
@@ -27,15 +27,15 @@ module.exports = function (repo) {
27
28
it('bad repo init 1', (done) => {
29
function run () {
30
- new Repo()
+ return new Repo()
31
}
32
expect(run).to.throw(Error)
33
done()
34
})
35
36
it('bad repo init 2', (done) => {
37
38
- new Repo('', {})
+ return new Repo('', {})
39
40
41
0 commit comments