Merge pull request #445 from yorkie/fix/gh-444
upgrade supertest to ^1.0.1
This commit is contained in:
commit
2c9f2dcd9c
2 changed files with 2 additions and 1 deletions
|
@ -48,7 +48,7 @@
|
|||
"make-lint": "^1.0.1",
|
||||
"mocha": "^2.0.1",
|
||||
"should": "^3.1.0",
|
||||
"supertest": "~0.15.0",
|
||||
"supertest": "^1.0.1",
|
||||
"test-console": "^0.7.1"
|
||||
},
|
||||
"engines": {
|
||||
|
|
|
@ -105,6 +105,7 @@ describe('app.use(fn)', function(){
|
|||
|
||||
request(server)
|
||||
.get('/')
|
||||
.expect(404)
|
||||
.end(function(err){
|
||||
if (err) return done(err);
|
||||
calls.should.eql([1,2,3,4,5,6]);
|
||||
|
|
Loading…
Reference in a new issue