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

@@ -14,9 +14,12 @@
* limitations under the License.
**/
var should = require("should");
var util = require("../../../red/runtime/util");
describe("red/util", function() {
var NR_TEST_UTILS = require("nr-test-utils");
var util = NR_TEST_UTILS.require("@node-red/util").util;
describe("@node-red/util/util", function() {
describe('generateId', function() {
it('generates an id', function() {
var id = util.generateId();