chore: pnpm dev defaults to the _community test suite (#11044)

- `pnpm dev` defaults to the _community test suite
- add a console log indicating which suite is running
This commit is contained in:
Germán Jabloñski
2025-02-07 10:10:24 -03:00
committed by GitHub
parent feea444867
commit 49d94d53e0

View File

@@ -35,7 +35,7 @@ const filename = fileURLToPath(import.meta.url)
const dirname = path.dirname(filename)
const {
_: [testSuiteArg],
_: [testSuiteArg = '_community'],
...args
} = minimist(process.argv.slice(2))
@@ -44,6 +44,8 @@ if (!testSuiteArg || !fs.existsSync(path.resolve(dirname, testSuiteArg))) {
process.exit(0)
}
console.log(`Selected test suite: ${testSuiteArg}`)
if (args.turbo === true) {
process.env.TURBOPACK = '1'
}