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

Fix exec test for v0.10

Back out nvm 6 in travis (not there yet)
This commit is contained in:
Dave Conway-Jones 2016-04-23 17:41:56 +01:00
parent 9990046abb
commit 595ff63b72
2 changed files with 2 additions and 11 deletions

View File

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

View File

@ -234,17 +234,10 @@ describe('exec node', function() {
var n2 = helper.getNode("n2");
var n3 = helper.getNode("n3");
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) {
console.log("n4",msg);
msg.should.have.property("payload");
msg.payload.should.be.a.String;
msg.payload.should.equal(-2);
msg.payload.should.be.a.Number;
msg.payload.should.be.below(0);
done();
});
n1.receive({payload:null});