SyntaxFix
Write A Post
Hire A Developer
Questions
I would re-write the original target test, taking care the needed variable is defined IN THE SAME SUB-PROCESS as the application to launch:
test: ( NODE_ENV=test mocha --harmony --reporter spec test )