mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Fix XML parse test
Workaround to https://github.com/Leonidas-from-XIV/node-xml2js/issues/239
This commit is contained in:
parent
7aa37a1976
commit
9932d34304
@ -80,7 +80,7 @@ describe('XML node', function() {
|
|||||||
helper.load(xmlNode, flow, function() {
|
helper.load(xmlNode, flow, function() {
|
||||||
var n1 = helper.getNode("n1");
|
var n1 = helper.getNode("n1");
|
||||||
var n2 = helper.getNode("n2");
|
var n2 = helper.getNode("n2");
|
||||||
n1.receive({payload:'<not valid xml>',topic: "bar"});
|
n1.receive({payload:'<not valid>',topic: "bar"});
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
try {
|
try {
|
||||||
var logEvents = helper.log().args.filter(function(evt) {
|
var logEvents = helper.log().args.filter(function(evt) {
|
||||||
|
Loading…
Reference in New Issue
Block a user