Enable watch mode for tests depending on environment
A nice to have would be to have WTR run in watch mode when running locally. It should run without watch mode in CI. This can be done in the config with an env variable.
For now, just introduce a yarn test and yarn test:watch script.
Edited by Olivier Goulet