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:
parent
f19025455b
commit
7844c4faf6
@ -48,7 +48,7 @@
|
||||
"jsonata": "1.5.4",
|
||||
"media-typer": "1.0.1",
|
||||
"memorystore": "1.6.0",
|
||||
"micromatch": "~3.1.10",
|
||||
"micromatch": "3.1.10",
|
||||
"mime": "2.4.0",
|
||||
"mqtt": "2.18.8",
|
||||
"multer": "1.4.1",
|
||||
|
@ -671,7 +671,8 @@ describe('file Nodes', function() {
|
||||
},wait);
|
||||
n1.receive({payload:"test"});
|
||||
});
|
||||
RED.settings.fileNodeBlockList = [ ];
|
||||
delete RED.settings.fileNodeAllowList;
|
||||
delete RED.settings.fileNodeBlockList;
|
||||
});
|
||||
|
||||
});
|
||||
@ -907,6 +908,8 @@ describe('file Nodes', function() {
|
||||
},wait);
|
||||
n1.receive({payload:""});
|
||||
});
|
||||
delete RED.settings.fileNodeAllowList;
|
||||
delete RED.settings.fileNodeBlockList;
|
||||
});
|
||||
|
||||
it('should fail to read from the settings file', function(done) {
|
||||
@ -929,6 +932,8 @@ describe('file Nodes', function() {
|
||||
},wait);
|
||||
n1.receive({payload:""});
|
||||
});
|
||||
delete RED.settings.fileNodeAllowList;
|
||||
delete RED.settings.fileNodeBlockList;
|
||||
});
|
||||
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user