mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Move tests to match source hierarchy.
This commit is contained in:
parent
2b423fe9be
commit
67bd4f373f
@ -27,7 +27,7 @@ module.exports = function(grunt) {
|
||||
ui: 'bdd',
|
||||
reporter: 'tap'
|
||||
},
|
||||
all: { src: ['test/*.js'] }
|
||||
all: { src: ['test/**/*.js'] }
|
||||
},
|
||||
jshint: {
|
||||
options: {
|
||||
|
@ -15,7 +15,7 @@
|
||||
**/
|
||||
|
||||
var should = require("should");
|
||||
var RedNode = require("../red/nodes/Node");
|
||||
var RedNode = require("../../../red/nodes/Node");
|
||||
|
||||
describe('Node', function() {
|
||||
describe('#constructor',function() {
|
@ -16,10 +16,10 @@
|
||||
|
||||
var should = require("should");
|
||||
var when = require("when");
|
||||
var flows = require("../red/nodes/flows");
|
||||
var RedNode = require("../red/nodes/Node");
|
||||
var RED = require("../red/nodes");
|
||||
var events = require("../red/events");
|
||||
var flows = require("../../../red/nodes/flows");
|
||||
var RedNode = require("../../../red/nodes/Node");
|
||||
var RED = require("../../../red/nodes");
|
||||
var events = require("../../../red/events");
|
||||
|
||||
function loadFlows(testFlows, cb) {
|
||||
var storage = {
|
@ -15,9 +15,9 @@
|
||||
**/
|
||||
|
||||
var should = require("should");
|
||||
var RedNodes = require("../red/nodes");
|
||||
var RedNodes = require("../../../red/nodes");
|
||||
|
||||
var RedNode = require("../red/nodes/Node");
|
||||
var RedNode = require("../../../red/nodes/Node");
|
||||
|
||||
describe('NodeRegistry', function() {
|
||||
it('automatically registers new nodes',function() {
|
@ -18,7 +18,7 @@ var should = require("should");
|
||||
var fs = require('fs-extra');
|
||||
var path = require('path');
|
||||
|
||||
var localfilesystem = require("../red/storage/localfilesystem");
|
||||
var localfilesystem = require("../../../red/storage/localfilesystem");
|
||||
|
||||
describe('LocalFileSystem', function() {
|
||||
var userDir = path.join(__dirname,".testUserHome");
|
Loading…
Reference in New Issue
Block a user