mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-22 10:28:11 +08:00
* Make the URL hit by jest smoke tests configurable * Fix typo * Make names consistent
10 lines
368 B
JavaScript
10 lines
368 B
JavaScript
export const jest_env = process.env.JEST_ENV;
|
|
export const appPort = process.env.CXG_SERVER_PORT;
|
|
export const appUrlBase = process.env.CXG_URL_BASE || `http://localhost:${appPort}`;
|
|
export const DEV = jest_env === "dev";
|
|
export const DEBUG = jest_env === "debug";
|
|
export const DATASET = "pbmc3k";
|
|
|
|
if (DEBUG) jest.setTimeout(100000);
|
|
if (DEV) jest.setTimeout(10000);
|