Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Set NODE_ENV to to 'test' if not already set #1523
Still needs tests and docs.
I haven't found a good place in the docs to put the "warnings about the dangers".
Perhaps https://github.com/avajs/ava/#process-isolation comes closest, as it talks about the test process. Add another paragraph explaining what value of
I think you're right. I must've assumed it was a copy already. The value isn't used in the main process though so it was harmless.