1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

fix micromatch dependency to be fixed

fix tests to exit more cleanly
This commit is contained in:
Dave Conway-Jones 2018-12-21 16:51:52 +00:00
parent f19025455b
commit 7844c4faf6
No known key found for this signature in database
GPG Key ID: 9E7F9C73F5168CD4
2 changed files with 7 additions and 2 deletions

View File

@ -48,7 +48,7 @@
"jsonata": "1.5.4", "jsonata": "1.5.4",
"media-typer": "1.0.1", "media-typer": "1.0.1",
"memorystore": "1.6.0", "memorystore": "1.6.0",
"micromatch": "~3.1.10", "micromatch": "3.1.10",
"mime": "2.4.0", "mime": "2.4.0",
"mqtt": "2.18.8", "mqtt": "2.18.8",
"multer": "1.4.1", "multer": "1.4.1",

View File

@ -671,7 +671,8 @@ describe('file Nodes', function() {
},wait); },wait);
n1.receive({payload:"test"}); n1.receive({payload:"test"});
}); });
RED.settings.fileNodeBlockList = [ ]; delete RED.settings.fileNodeAllowList;
delete RED.settings.fileNodeBlockList;
}); });
}); });
@ -907,6 +908,8 @@ describe('file Nodes', function() {
},wait); },wait);
n1.receive({payload:""}); n1.receive({payload:""});
}); });
delete RED.settings.fileNodeAllowList;
delete RED.settings.fileNodeBlockList;
}); });
it('should fail to read from the settings file', function(done) { it('should fail to read from the settings file', function(done) {
@ -929,6 +932,8 @@ describe('file Nodes', function() {
},wait); },wait);
n1.receive({payload:""}); n1.receive({payload:""});
}); });
delete RED.settings.fileNodeAllowList;
delete RED.settings.fileNodeBlockList;
}); });
}); });