docs: pnpm doesn't need -- to pass flags to command (#51024)

This commit is contained in:
Naomi Carrigan
2023-07-21 05:10:31 -07:00
committed by GitHub
parent b1e2acdf9f
commit 7ccb7ad9fc
+2 -2
View File
@@ -34,13 +34,13 @@ To run tests against production builds, replace `dev` with `prd` below.
- To run a single test:
```console
pnpm run cypress -- run --spec=cypress/<path_to_test_file>
pnpm run cypress run --spec=cypress/<path_to_test_file>
```
For example:
```console
pnpm run cypress -- run --spec=cypress/e2e/default/landing.ts
pnpm run cypress run --spec=cypress/e2e/default/landing.ts
```
- To create a development build, start the development server, and run all existing cypress end-to-end tests: