1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Remove console.log from XML test spec

This commit is contained in:
Nick O'Leary 2015-02-25 14:25:37 +00:00
parent ce1cd1ab9c
commit b6245bdef7

View File

@ -65,7 +65,6 @@ describe('XML node', function() {
var n2 = helper.getNode("n2"); var n2 = helper.getNode("n2");
n2.on("input", function(msg) { n2.on("input", function(msg) {
msg.should.have.property('topic', 'bar'); msg.should.have.property('topic', 'bar');
console.log(msg.payload);
var index = msg.payload.indexOf('<employees><firstName>John</firstName><lastName>Smith</lastName></employees>'); var index = msg.payload.indexOf('<employees><firstName>John</firstName><lastName>Smith</lastName></employees>');
index.should.be.above(-1); index.should.be.above(-1);
done(); done();