The resourcePath should also be added to 'NODE_PATH'.

The core specs rely on this to find and run specs.
This commit is contained in:
Cheng Zhao
2013-05-22 22:27:18 +08:00
parent a5a6af7ef6
commit a381e36779

View File

@@ -16,7 +16,8 @@ setupNodePath= ->
'vendor',
'static',
'node_modules',
'spec'
'spec',
'',
]
homeDir = process.env[if process.platform is 'win32' then 'USERPROFILE' else 'HOME']