mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Fix test cases on windows and under proxy
This commit is contained in:
@@ -155,7 +155,7 @@ describe('nodes/registry/installer', function() {
|
||||
});
|
||||
});
|
||||
it("rejects when non-existant path is provided", function(done) {
|
||||
this.timeout(10000);
|
||||
this.timeout(20000);
|
||||
var resourcesDir = path.resolve(path.join(__dirname,"..","resources","local","TestNodeModule","node_modules","NonExistant"));
|
||||
installer.installModule(resourcesDir).then(function() {
|
||||
done(new Error("Unexpected success"));
|
||||
|
@@ -287,7 +287,7 @@ describe("storage/localfilesystem/projects/ssh", function() {
|
||||
});
|
||||
|
||||
it('should generate sshkey file with size data', function(done) {
|
||||
this.timeout(10000);
|
||||
this.timeout(20000);
|
||||
var sshkeyDirPath = path.join(userDir, 'projects', '.sshkeys');
|
||||
var username = 'test';
|
||||
var options = {
|
||||
@@ -311,7 +311,7 @@ describe("storage/localfilesystem/projects/ssh", function() {
|
||||
});
|
||||
|
||||
it('should generate sshkey file with password & size data', function(done) {
|
||||
this.timeout(10000);
|
||||
this.timeout(20000);
|
||||
var sshkeyDirPath = path.join(userDir, 'projects', '.sshkeys');
|
||||
var username = 'test';
|
||||
var options = {
|
||||
|
Reference in New Issue
Block a user