Extend timeout for the test case of installing non-existant path. (#1191)

to fix timeout on slower hosts
This commit is contained in:
Kazuki-Nakanishi 2017-03-10 13:59:44 +00:00 committed by Dave Conway-Jones
parent 5356373681
commit 3cc4173399
1 changed files with 1 additions and 0 deletions

View File

@ -124,6 +124,7 @@ describe('nodes/registry/installer', function() {
});
});
it("rejects when non-existant path is provided", function(done) {
this.timeout(10000);
var resourcesDir = path.resolve(path.join(__dirname,"..","resources","local","TestNodeModule","node_modules","NonExistant"));
installer.installModule(resourcesDir).then(function() {
done(new Error("Unexpected success"));