tiny changes to JSON and exec test for node6

no need to specify npm2 defaults are ok now. (on travis)
This commit is contained in:
Dave Conway-Jones
2016-04-30 17:05:10 +01:00
parent 622d4214f7
commit b27db3e2e7
3 changed files with 9 additions and 11 deletions

View File

@@ -97,7 +97,8 @@ describe('JSON node', function() {
return evt[0].type == "json";
});
logEvents.should.have.length(1);
logEvents[0][0].should.have.a.property('msg',"Unexpected token o");
logEvents[0][0].should.have.a.property('msg');
logEvents[0][0].msg.should.startWith("Unexpected token o");
logEvents[0][0].should.have.a.property('level',helper.log().ERROR);
done();
} catch(err) {