mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-24 07:08:12 +08:00
* refactor categorical controls state * lint * fix race condition in tests * fix typo * add missing update on subset * remove obsolete code * update jest and puppeteer major version; update all minors * update when label changes * remove lint from tests; increase timeouts in e2e tests * changes in response to PR review * lint * more PR comment changes * more PR comment fixes * lint * more PR comment resolutions
12 lines
425 B
JavaScript
12 lines
425 B
JavaScript
export const jestEnv = 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 = jestEnv === "dev";
|
|
export const DEBUG = jestEnv === "debug";
|
|
export const DATASET = "pbmc3k";
|
|
|
|
if (DEBUG) jest.setTimeout(2 * 60 * 1000);
|
|
if (DEV) jest.setTimeout(30 * 1000);
|
|
if (!DEBUG && !DEV) jest.setTimeout(10 * 1000);
|