Skip to content

Commit

Permalink
Update contributing.md: remove outdated xvfb system requirement, and …
Browse files Browse the repository at this point in the history
…list the requirement for Chrome for local unit testing
  • Loading branch information
trusktr committed Oct 31, 2023
1 parent d760b21 commit 3d9acb8
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions guide/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,8 @@ First install needed system dependencies.
will face an [error saying `pngquant pre-build test failed`](https://github.com/gatsbyjs/gatsby/issues/20389).
- First install [Homebrew](https://brew.sh)
- then run `brew install libpng pkg-config`.
4. Install `xvfb` which includes the command `xvfb-run` for running Linux windows headlessly during testing.
- In Linux (and WSL), the package is usually has the name `xvfb` in it.
- f.e. in Ubuntu: `sudo apt install xvfb`
- and in Arch Linux `pacman -S xorg-server-xvfb`.
- In macOS
- you can install it from https://www.xquartz.org/
- or use Homebrew: `brew install XQuartz`
4. Install [Google Chrome](https://www.google.com/chrome/) which is needed for
running tests locally.

### Local Dependencies

Expand Down

0 comments on commit 3d9acb8

Please sign in to comment.