Increased timeout for querying npm registry.

This commit is contained in:
Richard Moore 2018-10-03 20:08:01 -04:00
parent f6d946cf68
commit 0dafd83033
No known key found for this signature in database
GPG Key ID: 525F70A6FCABC295

@ -9,6 +9,7 @@ var ethers = utils.getEthers(__filename);
describe("Package Version", function() {
var url = "http://registry.npmjs.org/ethers"
it("is not already published", function() {
this.timeout(20000);
return ethers.utils.fetchJson(url).then(function(data) {
assert.ok(Object.keys(data.versions).indexOf(ethers.version) === -1);
});