Skip to content

Commit

Permalink
adds config tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitropoulos committed Jul 30, 2024
1 parent bee93fd commit a7216fa
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions turborepo-tests/integration/tests/config.t
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a7216fa

Please sign in to comment.