mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
try to fix debug node non-standard object type handling.
This commit is contained in:
@@ -94,7 +94,7 @@ describe('debug node', function() {
|
||||
}, function(msg) {
|
||||
JSON.parse(msg).should.eql({
|
||||
topic:"debug",
|
||||
data:{id:"n1",msg:'{\n "payload": "test"\n}',format:"object"}
|
||||
data:{id:"n1",msg:'{\n "payload": "test"\n}',format:"Object"}
|
||||
});
|
||||
}, done);
|
||||
});
|
||||
@@ -179,7 +179,7 @@ describe('debug node', function() {
|
||||
}, function(msg) {
|
||||
JSON.parse(msg).should.eql({
|
||||
topic:"debug",
|
||||
data:{id:"n1",msg:'{\n "type": "foo"\n}',property:"payload",format:"object"}
|
||||
data:{id:"n1",msg:'{\n "type": "foo"\n}',property:"payload",format:"Object"}
|
||||
});
|
||||
}, done);
|
||||
});
|
||||
@@ -215,7 +215,7 @@ describe('debug node', function() {
|
||||
data:{
|
||||
id:"n1",
|
||||
msg:'{\n "name": "bar",\n "o": "[circular]"\n}',
|
||||
property:"payload",format:"object"
|
||||
property:"payload",format:"Object"
|
||||
}
|
||||
});
|
||||
}, done);
|
||||
|
Reference in New Issue
Block a user