Upgrade supertest + nock to recent version

The most recent version that was explicitly marked as compatible with
Node.js 0.10.x
This commit is contained in:
Rob Wu
2017-07-13 17:32:45 +02:00
parent dcc64052e3
commit ded44cb5d0
2 changed files with 4 additions and 4 deletions

View File

@@ -165,7 +165,7 @@ describe('Basic functionality', function() {
.expect('x-final-url', 'http://example.com/redirecttarget')
.expect('access-control-expose-headers', /some-header,x-final-url/)
.expectNoHeader('header at redirect')
.expect(200, '', done);
.expect(200, undefined, done);
});
it('GET with redirect should be followed', function(done) {