mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
NLS Core nodes
NLS exec node NLS function/temple/delay nodes NLS function/template/delay/trigger/comment nodes NLS io nodes (mqtt/httpin/websocket/watch/serial) NLS messages.json for tcpin NLS io nodes (tcpin & udp half) NLS io nodes (udp) NLS logic nodes (switch/change) NLS logic (range) and parsers (csv&html) nodes NLS parser nodes (json/xml) NLS test case update for logic/parsers NLS analysis and hardware nodes NLS storage nodes (file/redisout/mongodb) and test NLS storage node (tail) NLS social nodes (feedparse/email/irc) NLS socal node (twitter half change) NLS social node (twitter) and core node (unknown)
This commit is contained in:
committed by
Nick O'Leary
parent
c105b2df37
commit
2fe859b111
@@ -254,9 +254,9 @@ describe('CSV node', function() {
|
||||
});
|
||||
logEvents.should.have.length(2);
|
||||
logEvents[0][0].should.have.a.property('msg');
|
||||
logEvents[0][0].msg.toString().should.startWith('This node only handles csv strings or js objects.');
|
||||
logEvents[0][0].msg.toString().should.startWith('csv.errors.csv_js');
|
||||
logEvents[1][0].should.have.a.property('msg');
|
||||
logEvents[1][0].msg.toString().should.startWith('This node only handles csv strings or js objects.');
|
||||
logEvents[1][0].msg.toString().should.startWith('csv.errors.csv_js');
|
||||
done();
|
||||
} catch(err) {
|
||||
done(err);
|
||||
|
@@ -105,13 +105,13 @@ describe('JSON node', function() {
|
||||
//console.log(logEvents);
|
||||
logEvents.should.have.length(4);
|
||||
logEvents[0][0].should.have.a.property('msg');
|
||||
logEvents[0][0].msg.toString().should.startWith('Dropped: ');
|
||||
logEvents[0][0].msg.toString().should.startWith('json.errors.dropped: ');
|
||||
logEvents[1][0].should.have.a.property('msg');
|
||||
logEvents[1][0].msg.toString().should.startWith('Dropped: ');
|
||||
logEvents[1][0].msg.toString().should.startWith('json.errors.dropped: ');
|
||||
logEvents[2][0].should.have.a.property('msg');
|
||||
logEvents[2][0].msg.toString().should.startWith('Dropped: ');
|
||||
logEvents[2][0].msg.toString().should.startWith('json.errors.dropped: ');
|
||||
logEvents[3][0].should.have.a.property('msg');
|
||||
logEvents[3][0].msg.toString().should.startWith('Dropped: ');
|
||||
logEvents[3][0].msg.toString().should.startWith('json.errors.dropped: ');
|
||||
done();
|
||||
} catch(err) {
|
||||
done(err);
|
||||
|
@@ -111,7 +111,7 @@ describe('XML node', function() {
|
||||
return evt[0].type == "xml";
|
||||
});
|
||||
logEvents.should.have.length(1);
|
||||
logEvents[0][0].should.have.a.property('msg',"This node only handles xml strings or js objects.");
|
||||
logEvents[0][0].should.have.a.property('msg',"xml.errors.xml_js");
|
||||
done();
|
||||
} catch(err) {
|
||||
done(err);
|
||||
|
Reference in New Issue
Block a user