Update v2.js

This commit is contained in:
Tony Tam
2015-09-19 10:39:01 -07:00
parent 058f959669
commit 4efefb156a

View File

@@ -17,10 +17,10 @@ var elements = [
]; ];
describe('swagger 2.0 spec tests', function () { describe('swagger 2.0 spec tests', function () {
this.timeout(10 * 3000); this.timeout(20 * 1000);
before(function (done) { before(function (done) {
this.timeout(25 * 3000); this.timeout(30 * 1000);
servers.start('/v2/petstore.json', done); servers.start('/v2/petstore.json', done);
}); });
@@ -110,7 +110,8 @@ describe('swagger 2.0 spec tests', function () {
}); });
}); });
after(function() { after(function(done) {
servers.close(); servers.close();
done();
}); });
}); });