mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Flows lib honours flowFilePretty setting (#837)
* Flow lib now adheres to pretty flow file, ui also adheres to this as well * added settings mock object in flows_spec get api test * reverted api changes, fixed parse of flow only * try spell flows correctly
This commit is contained in:
@@ -36,6 +36,7 @@ describe("flows api", function() {
|
||||
|
||||
it('returns flow', function(done) {
|
||||
flows.init({
|
||||
settings: {},
|
||||
log:{warn:function(){},_:function(){},audit:function(){}},
|
||||
nodes:{
|
||||
getFlows: function() { return [1,2,3]; }
|
||||
|
Reference in New Issue
Block a user