Update docs/src/best-practices-js.md

Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
Signed-off-by: Max Schmitt <max@schmitt.mx>
This commit is contained in:
Max Schmitt 2024-11-13 12:06:34 +01:00 committed by GitHub
parent 92eb046f0b
commit 4b803603c3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -476,7 +476,7 @@ Setup CI/CD and run your tests frequently. The more often you run your tests the
Use Linux when running your tests on CI as it is cheaper. Developers can use whatever environment when running locally but use linux on CI. Consider setting up [Sharding](./test-sharding.md) to make CI faster.
### Optimize browser downloads on CI
#### Optimize browser downloads on CI
Only install the browsers that you actually need, especially on CI. For example, if you're only testing with Chromium, install just Chromium which might save you up to 50s.