-
Notifications
You must be signed in to change notification settings - Fork 504
Expose a way to run test in non-interactive mode without defining CI #408
Copy link
Copy link
Closed
Labels
Description
Current Behavior
yarn teststart jest in interactive mode- Setting
CI=truestart jest in non-interactive mode but without colors because most tools only check wether or not theCIenvironment variables exist an not it's value:
https://github.com/watson/ci-info/blob/master/index.js#L53
Because of this you loose some functionalities, like colors when using tools likenporlerna.
Desired Behavior
Being able to run tsdx test in non-interactive way without setting the CI variable.
Suggested Solution
Using a different environment variable name to disable "auto watch mode":
TSDX_AUTO_WATCH=false tsdx test
Who does this impact? Who is this for?
This impact everyone who was using tsdx test in non-interactive mode outside of a CI.
It would make the migration from 0.11 to 0.12 easier.
Reactions are currently unavailable