mirror of https://github.com/node-red/node-red.git
Extend timeout for the test case of installing non-existant path. (#1191)
to fix timeout on slower hostspull/1197/head
parent
5356373681
commit
3cc4173399
|
@ -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"));
|
||||
|
|
Loading…
Reference in New Issue