chore(docs): fix typo

This commit is contained in:
Simon Knott 2024-08-29 12:13:30 +02:00
parent 6763d5ab6b
commit 8bee39e770
No known key found for this signature in database
GPG key ID: 8CEDC00028084AEC

View file

@ -80,14 +80,14 @@ By default, Playwright will look up a closest tsconfig for each imported file by
```sh ```sh
# Playwright will choose tsconfig automatically # Playwright will choose tsconfig automatically
npx playwrigh test npx playwright test
``` ```
Alternatively, you can specify a single tsconfig file to use in the command line, and Playwright will use it for all imported files, not only test files. Alternatively, you can specify a single tsconfig file to use in the command line, and Playwright will use it for all imported files, not only test files.
```sh ```sh
# Pass a specific tsconfig # Pass a specific tsconfig
npx playwrigh test --tsconfig=tsconfig.test.json npx playwright test --tsconfig=tsconfig.test.json
``` ```
## Manually compile tests with TypeScript ## Manually compile tests with TypeScript