Is it possible to detect whether meteor was started in normal or test mode?
Normal mode is just:
Test mode is like so:
Can I somehow detect in my code when Meteor was started in the second form? I could probably get the arguments that were passed to the
meteor command? What I really want to know is whether some kind of flag is set that I could read when meteor is started in
I’ve been reading some of the meteor core code and I can’t find anything that appears to be set while meteor is running in
test-packages mode. But if I missed something, I’ll be very happy.