I see. Can you update the makefile instead (or as well)? `NODE_ENV=test $(MOCHA)` should do the trick.