add permit deny lists to file node

This commit is contained in:
Dave Conway-Jones
2018-12-21 08:53:02 +00:00
parent 7f5d47f39d
commit d1cc3da14d
3 changed files with 61 additions and 9 deletions

View File

@@ -58,7 +58,7 @@ describe('file Nodes', function() {
});
it('should write to a file', function(done) {
var flow = [{id:"fileNode1", type:"file", name: "fileNode", "filename":fileToTest, "appendNewline":false, "overwriteFile":true, wires: [["helperNode1"]]},
var flow = [{id:"fileNode1", type:"file", name:"fileNode", "filename":fileToTest, "appendNewline":false, "overwriteFile":true, wires:[["helperNode1"]]},
{id:"helperNode1", type:"helper"}];
helper.load(fileNode, flow, function() {
var n1 = helper.getNode("fileNode1");