Skip to content

Commit 9fbde29

Browse files
chore: update snapshot tests
1 parent 5bbc8c3 commit 9fbde29

File tree

2 files changed

+19
-29
lines changed

2 files changed

+19
-29
lines changed

turborepo-tests/integration/tests/no-args.t

+9-9
Original file line numberDiff line numberDiff line change
@@ -80,22 +80,22 @@ Make sure exit code is 2 when no args are passed
8080
File to write turbo's performance profile output into. You can load the file up in chrome://tracing to see which parts of your build were slow
8181
--anon-profile <ANON_PROFILE>
8282
File to write turbo's performance profile output into. All identifying data omitted from the profile
83-
--remote-cache-read-only [<BOOL>]
84-
Treat remote cache as read only [env: TURBO_REMOTE_CACHE_READ_ONLY=] [default: false] [possible values: true, false]
83+
--remote-cache-read-only [<REMOTE_CACHE_READ_ONLY>]
84+
Treat remote cache as read only [possible values: true, false]
8585
--summarize [<SUMMARIZE>]
86-
Generate a summary of the turbo run [env: TURBO_RUN_SUMMARY=] [possible values: true, false]
86+
Generate a summary of the turbo run [possible values: true, false]
8787
--parallel
8888
Execute all tasks in parallel
8989
--cache-dir <CACHE_DIR>
90-
Override the filesystem cache directory [env: TURBO_CACHE_DIR=]
90+
Override the filesystem cache directory
9191
--concurrency <CONCURRENCY>
9292
Limit the concurrency of task execution. Use 1 for serial (i.e. one-at-a-time) execution
9393
--continue
9494
Continue execution even if a task exits with an error or non-zero exit code. The default behavior is to bail
9595
--single-package
9696
Run turbo in single-package mode
9797
--force [<FORCE>]
98-
Ignore the existing cache (to force execution) [env: TURBO_FORCE=] [possible values: true, false]
98+
Ignore the existing cache (to force execution) [possible values: true, false]
9999
--framework-inference [<BOOL>]
100100
Specify whether or not to do framework inference for tasks [default: true] [possible values: true, false]
101101
--global-deps <GLOBAL_DEPS>
@@ -109,11 +109,11 @@ Make sure exit code is 2 when no args are passed
109109
--output-logs <OUTPUT_LOGS>
110110
Set type of process output logging. Use "full" to show all output. Use "hash-only" to show only turbo-computed task hashes. Use "new-only" to show only new output with only hashes for cached tasks. Use "none" to hide process output. (default full) [possible values: full, none, hash-only, new-only, errors-only]
111111
--log-order <LOG_ORDER>
112-
Set type of task output order. Use "stream" to show output as soon as it is available. Use "grouped" to show output when a command has finished execution. Use "auto" to let turbo decide based on its own heuristics. (default auto) [env: TURBO_LOG_ORDER=] [default: auto] [possible values: auto, stream, grouped]
112+
Set type of task output order. Use "stream" to show output as soon as it is available. Use "grouped" to show output when a command has finished execution. Use "auto" to let turbo decide based on its own heuristics. (default auto) [possible values: auto, stream, grouped]
113113
--only
114114
Only executes the tasks specified, does not execute parent tasks
115-
--remote-only [<BOOL>]
116-
Ignore the local filesystem cache for all tasks. Only allow reading and caching artifacts using the remote cache [env: TURBO_REMOTE_ONLY=] [default: false] [possible values: true, false]
115+
--remote-only [<REMOTE_ONLY>]
116+
Ignore the local filesystem cache for all tasks. Only allow reading and caching artifacts using the remote cache [possible values: true, false]
117117
--log-prefix <LOG_PREFIX>
118118
Use "none" to remove prefixes from task logs. Use "task" to get task id prefixing. Use "auto" to let turbo decide how to prefix the logs based on the execution environment. In most cases this will be the same as "task". Note that tasks running in parallel interleave their logs, so removing prefixes can make it difficult to associate logs with tasks. Use --log-order=grouped to prevent interleaving. (default auto) [default: auto] [possible values: auto, none, task]
119119
[1]
@@ -141,7 +141,7 @@ Run again with a filter and get only the packages that match
141141

142142
Run again with an environment variable that corresponds to a run argument and assert that
143143
we get the full help output.
144-
$ TURBO_LOG_ORDER=stream ${TURBO} 2>&1 > out.txt
144+
$ TURBO_LOG_ORDER=stream ${TURBO} 2> out.txt
145145
[1]
146146
$ cat out.txt | head -n1
147147
The build system that makes ship happen

turborepo-tests/integration/tests/turbo-help.t

+10-20
Original file line numberDiff line numberDiff line change
@@ -80,22 +80,22 @@ Test help flag
8080
File to write turbo's performance profile output into. You can load the file up in chrome://tracing to see which parts of your build were slow
8181
--anon-profile <ANON_PROFILE>
8282
File to write turbo's performance profile output into. All identifying data omitted from the profile
83-
--remote-cache-read-only [<BOOL>]
84-
Treat remote cache as read only [env: TURBO_REMOTE_CACHE_READ_ONLY=] [default: false] [possible values: true, false]
83+
--remote-cache-read-only [<REMOTE_CACHE_READ_ONLY>]
84+
Treat remote cache as read only [possible values: true, false]
8585
--summarize [<SUMMARIZE>]
86-
Generate a summary of the turbo run [env: TURBO_RUN_SUMMARY=] [possible values: true, false]
86+
Generate a summary of the turbo run [possible values: true, false]
8787
--parallel
8888
Execute all tasks in parallel
8989
--cache-dir <CACHE_DIR>
90-
Override the filesystem cache directory [env: TURBO_CACHE_DIR=]
90+
Override the filesystem cache directory
9191
--concurrency <CONCURRENCY>
9292
Limit the concurrency of task execution. Use 1 for serial (i.e. one-at-a-time) execution
9393
--continue
9494
Continue execution even if a task exits with an error or non-zero exit code. The default behavior is to bail
9595
--single-package
9696
Run turbo in single-package mode
9797
--force [<FORCE>]
98-
Ignore the existing cache (to force execution) [env: TURBO_FORCE=] [possible values: true, false]
98+
Ignore the existing cache (to force execution) [possible values: true, false]
9999
--framework-inference [<BOOL>]
100100
Specify whether or not to do framework inference for tasks [default: true] [possible values: true, false]
101101
--global-deps <GLOBAL_DEPS>
@@ -109,11 +109,11 @@ Test help flag
109109
--output-logs <OUTPUT_LOGS>
110110
Set type of process output logging. Use "full" to show all output. Use "hash-only" to show only turbo-computed task hashes. Use "new-only" to show only new output with only hashes for cached tasks. Use "none" to hide process output. (default full) [possible values: full, none, hash-only, new-only, errors-only]
111111
--log-order <LOG_ORDER>
112-
Set type of task output order. Use "stream" to show output as soon as it is available. Use "grouped" to show output when a command has finished execution. Use "auto" to let turbo decide based on its own heuristics. (default auto) [env: TURBO_LOG_ORDER=] [default: auto] [possible values: auto, stream, grouped]
112+
Set type of task output order. Use "stream" to show output as soon as it is available. Use "grouped" to show output when a command has finished execution. Use "auto" to let turbo decide based on its own heuristics. (default auto) [possible values: auto, stream, grouped]
113113
--only
114114
Only executes the tasks specified, does not execute parent tasks
115-
--remote-only [<BOOL>]
116-
Ignore the local filesystem cache for all tasks. Only allow reading and caching artifacts using the remote cache [env: TURBO_REMOTE_ONLY=] [default: false] [possible values: true, false]
115+
--remote-only [<REMOTE_ONLY>]
116+
Ignore the local filesystem cache for all tasks. Only allow reading and caching artifacts using the remote cache [possible values: true, false]
117117
--log-prefix <LOG_PREFIX>
118118
Use "none" to remove prefixes from task logs. Use "task" to get task id prefixing. Use "auto" to let turbo decide how to prefix the logs based on the execution environment. In most cases this will be the same as "task". Note that tasks running in parallel interleave their logs, so removing prefixes can make it difficult to associate logs with tasks. Use --log-order=grouped to prevent interleaving. (default auto) [default: auto] [possible values: auto, none, task]
119119

@@ -234,26 +234,21 @@ Test help flag
234234
--anon-profile <ANON_PROFILE>
235235
File to write turbo's performance profile output into. All identifying data omitted from the profile
236236

237-
--remote-cache-read-only [<BOOL>]
237+
--remote-cache-read-only [<REMOTE_CACHE_READ_ONLY>]
238238
Treat remote cache as read only
239239

240-
[env: TURBO_REMOTE_CACHE_READ_ONLY=]
241-
[default: false]
242240
[possible values: true, false]
243241

244242
--summarize [<SUMMARIZE>]
245243
Generate a summary of the turbo run
246244

247-
[env: TURBO_RUN_SUMMARY=]
248245
[possible values: true, false]
249246

250247
--parallel
251248
Execute all tasks in parallel
252249

253250
--cache-dir <CACHE_DIR>
254251
Override the filesystem cache directory
255-
256-
[env: TURBO_CACHE_DIR=]
257252

258253
--concurrency <CONCURRENCY>
259254
Limit the concurrency of task execution. Use 1 for serial (i.e. one-at-a-time) execution
@@ -267,7 +262,6 @@ Test help flag
267262
--force [<FORCE>]
268263
Ignore the existing cache (to force execution)
269264

270-
[env: TURBO_FORCE=]
271265
[possible values: true, false]
272266

273267
--framework-inference [<BOOL>]
@@ -298,18 +292,14 @@ Test help flag
298292
--log-order <LOG_ORDER>
299293
Set type of task output order. Use "stream" to show output as soon as it is available. Use "grouped" to show output when a command has finished execution. Use "auto" to let turbo decide based on its own heuristics. (default auto)
300294

301-
[env: TURBO_LOG_ORDER=]
302-
[default: auto]
303295
[possible values: auto, stream, grouped]
304296

305297
--only
306298
Only executes the tasks specified, does not execute parent tasks
307299

308-
--remote-only [<BOOL>]
300+
--remote-only [<REMOTE_ONLY>]
309301
Ignore the local filesystem cache for all tasks. Only allow reading and caching artifacts using the remote cache
310302

311-
[env: TURBO_REMOTE_ONLY=]
312-
[default: false]
313303
[possible values: true, false]
314304

315305
--log-prefix <LOG_PREFIX>

0 commit comments

Comments
 (0)