Fix the documented invocation for generating tests non-interactively (#96896)
`AGENTS.md` documented `pnpm new-test -- --args <appDir> <name> <type>`, but `--args` is a flag of `turbo gen`, not an argument forwarded to the generator. The `--` separator pushes it past turbo's own parser, so the command fails with `unexpected argument '--args' found` and the generator never runs non-interactively. That blocks the instruction a few lines above it, which states that generating tests with `pnpm new-test` is mandatory. The correct form passes `--args` directly, without the separator. This change updates both places that carry the command: the non-interactive generation block, and the quick smoke testing note under "Test Gotchas".
Showing
Please
register
or
sign in
to comment