Make the URL hit by jest smoke tests configurable (#1420)

* Make the URL hit by jest smoke tests configurable

* Fix typo

* Make names consistent
This commit is contained in:
Matt Weiden
2020-04-22 15:23:11 -07:00
committed by GitHub
parent 9b12b729c9
commit a2047b90ae
8 changed files with 22 additions and 35 deletions

View File

@@ -112,3 +112,5 @@ Methods used to test the client javascript code
* `make e2e` Runs backend tests without starting the server. You will need to
start the rest api separately with the pbmc3k.h5ad file. Note you can use
the `JEST_ENV` environment variable to change how JEST runs in the browser.
The test runs against `localhost:5005` by default. You can use the
`CXG_URL_BASE` env variable to test non-localhost deployments of cellxgene.