1
0
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:
Mark Hindess 2014-07-17 08:06:30 +01:00
parent 2b423fe9be
commit 67bd4f373f
6 changed files with 9 additions and 9 deletions

View File

@ -27,7 +27,7 @@ module.exports = function(grunt) {
ui: 'bdd', ui: 'bdd',
reporter: 'tap' reporter: 'tap'
}, },
all: { src: ['test/*.js'] } all: { src: ['test/**/*.js'] }
}, },
jshint: { jshint: {
options: { options: {

View File

@ -15,7 +15,7 @@
**/ **/
var should = require("should"); var should = require("should");
var RedNode = require("../red/nodes/Node"); var RedNode = require("../../../red/nodes/Node");
describe('Node', function() { describe('Node', function() {
describe('#constructor',function() { describe('#constructor',function() {

View File

@ -16,10 +16,10 @@
var should = require("should"); var should = require("should");
var when = require("when"); var when = require("when");
var flows = require("../red/nodes/flows"); var flows = require("../../../red/nodes/flows");
var RedNode = require("../red/nodes/Node"); var RedNode = require("../../../red/nodes/Node");
var RED = require("../red/nodes"); var RED = require("../../../red/nodes");
var events = require("../red/events"); var events = require("../../../red/events");
function loadFlows(testFlows, cb) { function loadFlows(testFlows, cb) {
var storage = { var storage = {

View File

@ -15,9 +15,9 @@
**/ **/
var should = require("should"); 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() { describe('NodeRegistry', function() {
it('automatically registers new nodes',function() { it('automatically registers new nodes',function() {

View File

@ -18,7 +18,7 @@ var should = require("should");
var fs = require('fs-extra'); var fs = require('fs-extra');
var path = require('path'); var path = require('path');
var localfilesystem = require("../red/storage/localfilesystem"); var localfilesystem = require("../../../red/storage/localfilesystem");
describe('LocalFileSystem', function() { describe('LocalFileSystem', function() {
var userDir = path.join(__dirname,".testUserHome"); var userDir = path.join(__dirname,".testUserHome");