Skip to content

Commit bb70ac9

Browse files
committed
Code review revisions
1 parent 90f9e67 commit bb70ac9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"items": "2.x.x"
3535
},
3636
"peerDependencies": {
37-
"hapi": ">=10 <17"
37+
"hapi": ">=10 <16"
3838
},
3939
"devDependencies": {
4040
"boom": "5.x.x",

test/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ describe('Underdog', () => {
486486
srv.stop(done);
487487
});
488488

489-
request.on('push', () => new Error('Should not make it here'));
489+
request.on('push', () => done(new Error('Should not make it here')));
490490
});
491491
});
492492

@@ -531,7 +531,7 @@ describe('Underdog', () => {
531531
srv.stop(done);
532532
});
533533

534-
request.on('push', () => new Error('Should not make it here'));
534+
request.on('push', () => done(new Error('Should not make it here')));
535535
});
536536
});
537537

0 commit comments

Comments
 (0)