mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Extend timeout for the test case of installing non-existant path. (#1191)
to fix timeout on slower hosts
This commit is contained in:
parent
5356373681
commit
3cc4173399
@ -124,6 +124,7 @@ describe('nodes/registry/installer', function() {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
it("rejects when non-existant path is provided", function(done) {
|
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"));
|
var resourcesDir = path.resolve(path.join(__dirname,"..","resources","local","TestNodeModule","node_modules","NonExistant"));
|
||||||
installer.installModule(resourcesDir).then(function() {
|
installer.installModule(resourcesDir).then(function() {
|
||||||
done(new Error("Unexpected success"));
|
done(new Error("Unexpected success"));
|
||||||
|
Loading…
Reference in New Issue
Block a user