From 90b05c09e5736fcacfca61e5e69e5dd1a62f6699 Mon Sep 17 00:00:00 2001 From: Yazhong Liu Date: Sun, 24 May 2015 12:39:53 +0800 Subject: [PATCH] upgrade supertest to ^1.0.1 --- package.json | 2 +- test/application.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 25df07d..e2d1d88 100644 --- a/package.json +++ b/package.json @@ -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": { diff --git a/test/application.js b/test/application.js index 06958bf..8dda061 100644 --- a/test/application.js +++ b/test/application.js @@ -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]);