Fixup all the tests

This commit is contained in:
Nick O'Leary
2018-08-20 16:17:24 +01:00
parent 998bf92ad4
commit 38a1291c5b
113 changed files with 458 additions and 250 deletions

View File

@@ -15,7 +15,7 @@
**/
var should = require("should");
var csvNode = require("../../../../nodes/core/parsers/70-CSV.js");
var csvNode = require("nr-test-utils").require("@node-red/nodes/core/parsers/70-CSV.js");
var helper = require("node-red-node-test-helper");
describe('CSV node', function() {

View File

@@ -18,7 +18,7 @@ var should = require("should");
var path = require("path");
var fs = require('fs-extra');
var htmlNode = require("../../../../nodes/core/parsers/70-HTML.js");
var htmlNode = require("nr-test-utils").require("@node-red/nodes/core/parsers/70-HTML.js");
var helper = require("node-red-node-test-helper");
describe('html node', function() {

View File

@@ -15,7 +15,7 @@
**/
var should = require("should");
var jsonNode = require("../../../../nodes/core/parsers/70-JSON.js");
var jsonNode = require("nr-test-utils").require("@node-red/nodes/core/parsers/70-JSON.js");
var helper = require("node-red-node-test-helper");
describe('JSON node', function() {

View File

@@ -15,7 +15,7 @@
**/
var should = require("should");
var xmlNode = require("../../../../nodes/core/parsers/70-XML.js");
var xmlNode = require("nr-test-utils").require("@node-red/nodes/core/parsers/70-XML.js");
var helper = require("node-red-node-test-helper");
describe('XML node', function() {

View File

@@ -15,7 +15,7 @@
**/
var should = require("should");
var yamlNode = require("../../../../nodes/core/parsers/70-YAML.js");
var yamlNode = require("nr-test-utils").require("@node-red/nodes/core/parsers/70-YAML.js");
var helper = require("node-red-node-test-helper");
describe('YAML node', function() {