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

get more debug from travis for exec test

Don’t have v.10 locally.
And a,y as well try node v6 also ;-)
This commit is contained in:
Dave Conway-Jones 2016-04-23 17:29:31 +01:00
parent 8dacf72b3c
commit 9990046abb
2 changed files with 9 additions and 0 deletions

View File

@ -12,9 +12,11 @@ addons:
matrix: matrix:
allow_failures: allow_failures:
- node_js: "5" - node_js: "5"
- node_js: "6"
before_install: before_install:
- npm install -g npm@latest-2 - npm install -g npm@latest-2
node_js: node_js:
- "6"
- "5" - "5"
- "4" - "4"
- "0.12" - "0.12"

View File

@ -234,7 +234,14 @@ describe('exec node', function() {
var n2 = helper.getNode("n2"); var n2 = helper.getNode("n2");
var n3 = helper.getNode("n3"); var n3 = helper.getNode("n3");
var n4 = helper.getNode("n4"); var n4 = helper.getNode("n4");
n2.on("input", function(msg) {
console.log("n2",msg);
});
n3.on("input", function(msg) {
console.log("n3",msg);
});
n4.on("input", function(msg) { n4.on("input", function(msg) {
console.log("n4",msg);
msg.should.have.property("payload"); msg.should.have.property("payload");
msg.payload.should.be.a.String; msg.payload.should.be.a.String;
msg.payload.should.equal(-2); msg.payload.should.equal(-2);