Skip to content

Commit b594405

Browse files
committed
fix(tests): Added /test/unit into NODE_PATH for testing node_seed 1.0.x
1 parent 717b990 commit b594405

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

bin/clever-test

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ function start( reporter ) {
6565

6666
if (fs.existsSync( path.resolve( path.join( folder.path, 'modules' ) ) )) {
6767
var paths = process.env.NODE_PATH ? [process.env.NODE_PATH] : [];
68+
paths.push( path.resolve( path.join( folder.path, 'test', 'unit' ) ) + path.sep );
6869
paths.push( path.resolve( path.join( folder.path, 'lib' ) ) + path.sep );
6970
paths.push( path.resolve( path.join( folder.path, 'modules' ) ) + path.sep );
7071
env.NODE_PATH = paths.join( os.platform( ) === "win32" ? ';' : ':' );

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cleverstack-cli",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"author": {
55
"name": "CleverStack",
66
"email": "admin@cleverstack.io",

0 commit comments

Comments
 (0)