@@ -14,12 +14,30 @@ Our Commitment to Open Source can be found [here](https://zeit.co/blog/oss)
## To run tests
Make sure you have `chromedriver` installed for your Chrome version. You can install it with
-`brew install chromedriver` on Mac OS X
-`chocolatey install chromedriver` on Windows
- Or manually downloading it from the [chromedriver repo](https://chromedriver.storage.googleapis.com/index.html) and adding the binary to `<next-repo>/node_modules/.bin`
Running all tests:
```sh
yarn testonly
```
If you would like to run the tests in headless mode (with the browser windows hidden) you can do
```sh
yarn testheadless
```
If you would like to use a specific Chrome/Chromium binary to run tests you can specify it with
```sh
CHROME_BIN='path/to/chrome/bin' yarn testonly
```
Running a specific test suite inside of the `test/integration` directory: