mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user