mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
update travis node.js levels
This commit is contained in:
parent
8e001fcd45
commit
80942c5da8
2
.jscsrc
2
.jscsrc
@ -6,7 +6,7 @@
|
|||||||
"disallowMixedSpacesAndTabs": true,
|
"disallowMixedSpacesAndTabs": true,
|
||||||
"disallowMultipleSpaces": {"allowEOLComments": true},
|
"disallowMultipleSpaces": {"allowEOLComments": true},
|
||||||
"disallowKeywordsOnNewLine": [],
|
"disallowKeywordsOnNewLine": [],
|
||||||
"requireKeywordsOnNewLine": ["else", "catch"],
|
//"requireKeywordsOnNewLine": ["else", "catch"],
|
||||||
"requireSpaceBeforeBlockStatements": 1,
|
"requireSpaceBeforeBlockStatements": 1,
|
||||||
//"requireSpaceBeforeObjectValues": false,
|
//"requireSpaceBeforeObjectValues": false,
|
||||||
//"requireSemicolons": true,
|
//"requireSemicolons": true,
|
||||||
|
@ -11,14 +11,13 @@ addons:
|
|||||||
- gcc-4.8
|
- gcc-4.8
|
||||||
matrix:
|
matrix:
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- node_js: "5"
|
- node_js: "7"
|
||||||
before_install:
|
before_install:
|
||||||
- npm install -g npm@latest-2
|
- npm install -g npm@latest-2
|
||||||
node_js:
|
node_js:
|
||||||
- "5"
|
- "7"
|
||||||
|
- "6"
|
||||||
- "4"
|
- "4"
|
||||||
- "0.12"
|
|
||||||
- "0.10"
|
|
||||||
before_script:
|
before_script:
|
||||||
- npm install -g istanbul grunt-cli
|
- npm install -g istanbul grunt-cli
|
||||||
- npm install coveralls
|
- npm install coveralls
|
||||||
|
@ -20,7 +20,7 @@ describe('random node', function() {
|
|||||||
var flow = [{"id":"n1", "type":"random", "name":"random1", "wires":[[]]}];
|
var flow = [{"id":"n1", "type":"random", "name":"random1", "wires":[[]]}];
|
||||||
helper.load(testNode, flow, function() {
|
helper.load(testNode, flow, function() {
|
||||||
var n1 = helper.getNode("n1");
|
var n1 = helper.getNode("n1");
|
||||||
console.log(n1);
|
//console.log(n1);
|
||||||
n1.should.have.property("low", 1);
|
n1.should.have.property("low", 1);
|
||||||
n1.should.have.property("high", 10);
|
n1.should.have.property("high", 10);
|
||||||
n1.should.have.property("inte", false);
|
n1.should.have.property("inte", false);
|
||||||
|
Loading…
Reference in New Issue
Block a user