Skip to content

Commit 1c6e181

Browse files
committed
list next version when preparing fixtures
1 parent 53fd219 commit 1c6e181

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/prepare.mjs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,11 @@ const promises = fixtures.map((fixture) =>
106106
}
107107
output.stderr?.pipe(addPrefix).pipe(process.stderr)
108108
return output.finally(async () => {
109+
const npmListPromise = execaCommand(`npm list next`, { cwd, stdio: 'pipe' })
110+
npmListPromise.stdout?.pipe(addPrefix).pipe(process.stdout)
111+
npmListPromise.stderr?.pipe(addPrefix).pipe(process.stderr)
112+
await npmListPromise
113+
109114
await setNextVersionInFixture(cwd, 'latest', {
110115
logPrefix: `[${fixture}] `,
111116
operation: 'revert',

0 commit comments

Comments
 (0)