Reorganize tests, under 'spec' directory now
This commit is contained in:
parent
9be0f779ae
commit
bd95f9eb3c
2
Makefile
2
Makefile
|
@ -1,5 +1,5 @@
|
||||||
BIN := ./node_modules/.bin
|
BIN := ./node_modules/.bin
|
||||||
TEST_FILES := test/support/env.js $(shell find test/specs -type f -name "*.js")
|
TEST_FILES := spec/helper.js $(shell find spec/lib -type f -name "*.js")
|
||||||
|
|
||||||
VERSION := $(shell node -e "console.log(require('./package.json').version)")
|
VERSION := $(shell node -e "console.log(require('./package.json').version)")
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@ global.stub = sinon.stub;
|
||||||
|
|
||||||
// convenience function to require modules in lib directory
|
// convenience function to require modules in lib directory
|
||||||
global.source = function(module) {
|
global.source = function(module) {
|
||||||
return require(path.normalize('./../../lib/' + module));
|
return require(path.normalize('./../lib/' + module));
|
||||||
};
|
};
|
||||||
|
|
||||||
var Cylon = source('cylon');
|
var Cylon = source('cylon');
|
Loading…
Reference in New Issue