Skip to content

docs: fix pnpm new-test example to forward args#90145

Open
lllomh wants to merge 5 commits intovercel:canaryfrom
lllomh:canary
Open

docs: fix pnpm new-test example to forward args#90145
lllomh wants to merge 5 commits intovercel:canaryfrom
lllomh:canary

Conversation

@lllomh
Copy link

@lllomh lllomh commented Feb 18, 2026

Summary:
Fixes an incorrect example in AGENTS.md that showed pnpm new-test --args .... The correct usage is to forward arguments to the script with --, e.g. pnpm new-test -- --args ....

Changes:

Update the example and add a short note explaining that -- forwards args to the script.
Related:

Closes #89772
Verification:

Documentation-only change; verify the example in AGENTS.md shows pnpm new-test -- --args ....


- **Cache components enables PPR by default**: When `__NEXT_CACHE_COMPONENTS=true`, most app-dir pages use PPR implicitly. Dedicated `ppr-full/` and `ppr/` test suites are mostly `describe.skip` (migrating to cache components). To test PPR codepaths, run normal app-dir e2e tests with `__NEXT_CACHE_COMPONENTS=true` rather than looking for explicit PPR test suites.
- **Quick smoke testing with toy apps**: For fast feedback, generate a minimal test fixture with `pnpm new-test --args true <name> e2e`, then run the dev server directly with `node packages/next/dist/bin/next dev --port <port>` and `curl --max-time 10`. This avoids the overhead of the full test harness and gives immediate feedback on hangs/crashes.
-- **Quick smoke testing with toy apps**: For fast feedback, generate a minimal test fixture with `pnpm new-test -- --args true <name> e2e`, then run the dev server directly with `node packages/next/dist/bin/next dev --port <port>` and `curl --max-time 10`. This avoids the overhead of the full test harness and gives immediate feedback on hangs/crashes.
Copy link
Contributor

@vercel vercel bot Feb 18, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Double-dash -- list marker on line 400 of AGENTS.md breaks Markdown list formatting.

Fix on Vercel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

agents-md provides non-working command in AGENTS.md instructions

2 participants

Comments