commit | 594a8c609d64e8c8ea6d7b946b3450d4b68fcbce | [log] [tgz] |
---|---|---|
author | Jamal Carvalho <jamal@golang.org> | Fri Apr 16 16:25:51 2021 -0400 |
committer | Jamal Carvalho <jamal@golang.org> | Sat Apr 17 00:41:41 2021 +0000 |
tree | 926e0859e35efe190fbbcf2f88c4132686967d37 | |
parent | cd563e35d862eaf125d192ac76171fe3991fdf71 [diff] |
e2e: update snapshot test config The e2e tests will prefer a locally installed npm binary and use a prebuilt headless chrome docker image. This will speed up test runs for devs with npm installed but still leave the option to opt out of installing node directly on the host machine. Jest now uses a custom test environment that initializes global variables, starts chrome, and adds authorization headers to requests. Change-Id: Ie43952ada6fd3e4df0fd522c84691186ef0d7f80 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/310314 Trust: Jamal Carvalho <jamal@golang.org> Reviewed-by: Julie Qiu <julie@golang.org>
Pkg.go.dev is a website for discovering and evaluating Go packages and modules.
You can check it out at https://pkg.go.dev.
If you want to report a bug or have a feature suggestion, please first check the known issues to see if your issue is already being discussed. If an issue does not already exist, feel free to file an issue.
For answers to frequently asked questions, see go.dev/about.
You can also chat with us on the #pkgsite Slack channel on the Gophers Slack.
We would love your help!
Our canonical Git repository is located at go.googlesource.com/pkgsite. There is a mirror of the repository at github.com/golang/pkgsite.
To contribute, please read our contributing guide.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.