slight tidy of YAML PR (remove excess console.log in test)

and improve XML test coverage slightly
This commit is contained in:
Dave Conway-Jones
2016-11-10 21:29:07 +00:00
parent 9bbc8eda9d
commit d63996eea1
5 changed files with 43 additions and 7 deletions

View File

@@ -44,8 +44,6 @@ describe('YAML node', function() {
var yn1 = helper.getNode("yn1");
var yn2 = helper.getNode("yn2");
yn2.on("input", function(msg) {
console.log('msg', msg);
console.log('payload', msg.payload.employees[0]);
msg.should.have.property('topic', 'bar');
msg.payload.should.have.property('employees');
msg.payload.employees[0].should.have.property('firstName', 'John');