mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-09 12:57:46 +00:00
[tests] Turbo should use full logs when listing tests (#9172)
In PR #9168, the output mode was changed so it doesnt print logs when the result is cached. However, we need the output for the dry run where we list all relevant tests. So the flag was added to that one script only to avoid this skipped problem: 
This commit is contained in:
9
utils/chunk-tests.js
vendored
9
utils/chunk-tests.js
vendored
@@ -14,7 +14,14 @@ async function getChunkedTests() {
|
||||
const rootPath = path.resolve(__dirname, '..');
|
||||
|
||||
const dryRunText = (
|
||||
await turbo([`run`, ...scripts, `--cache-dir=.turbo`, '--', '--listTests'])
|
||||
await turbo([
|
||||
`run`,
|
||||
...scripts,
|
||||
`--cache-dir=.turbo`,
|
||||
'--output-logs=full',
|
||||
'--',
|
||||
'--listTests',
|
||||
])
|
||||
).toString('utf8');
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user