From a7216fad72a4bd19d34519d10a29677e9cee3671 Mon Sep 17 00:00:00 2001 From: Dimitri Mitropoulos Date: Tue, 30 Jul 2024 14:27:09 -0400 Subject: [PATCH] adds config tests --- turborepo-tests/integration/tests/config.t | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/turborepo-tests/integration/tests/config.t b/turborepo-tests/integration/tests/config.t index 82a9880089426..c15c12f589802 100644 --- a/turborepo-tests/integration/tests/config.t +++ b/turborepo-tests/integration/tests/config.t @@ -57,3 +57,22 @@ Run build with invalid env var [1] +Confirm that the daemon is not configured + $ ${TURBO} config | jq .daemon + null + +Add env var: `TURBO_DAEMON=true` + $ TURBO_DAEMON=true ${TURBO} config | jq .daemon + true + +Add env var: `TURBO_DAEMON=false` + $ TURBO_DAEMON=false ${TURBO} config | jq .daemon + false + +Add flag: `--daemon` + $ ${TURBO} --daemon config | jq .daemon + true + +Add flag: `--no-daemon` + $ ${TURBO} --no-daemon config | jq .daemon + false