use new test-helper add test to package.json (#441)

* use new test-helper add test to package.json

* try to fix travis build with new test helper

* install coveralls globally

* work around travis issue with adding node_modules/.bin in PATH
This commit is contained in:
Mike Blackstock
2018-05-01 09:33:05 -07:00
committed by Dave Conway-Jones
parent 5e0874ab44
commit f275ea0bac
14 changed files with 734 additions and 29 deletions

View File

@@ -1,6 +1,6 @@
var should = require("should");
var helper = require('../../../test/helper.js');
var helper = require('node-red-node-test-helper');
var testNode = require('../../../function/random/random.js');
describe('random node', function() {

View File

@@ -1,6 +1,6 @@
var should = require("should");
var helper = require('../../../test/helper.js');
var helper = require("node-red-node-test-helper");
var testNode = require('../../../function/rbe/rbe.js');
describe('rbe node', function() {

View File

@@ -1,6 +1,6 @@
var should = require("should");
var helper = require('../../../test/helper.js');
var helper = require("node-red-node-test-helper");
var testNode = require('../../../function/smooth/17-smooth.js');
describe('smooth node', function() {