mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-23 07:58:11 +08:00
* run eslint --fix * camelcase * camelCase config part 1 * part 2 * part 3 - removing subscripts * fix "class-methods-use-this" * fix "class-methods-use-this" * fix eslint ignores * add eslint ignore for set state in update * reformat comments to appease eslint * add a11y features * sort-comp fix * a11y fix * add ignore for set state in update * add a11y htmlFor * remove unused toast * remove unnecessary bind * add ignore for set state in update * add rel="noopener noreferrer" Using target="_blank" without rel="noopener noreferrer" is a security risk: see https://mathiasbynens.github.io/rel-noopener * use arrow function to bind * remove unused definitions/declarations * prettier * remove unused state * add comments to empty catch blocks remove curly brackets * escape ' * use eqeqeq * switch from default export * remove ignore log * remove static * fix import * revert subscripting config * clean-up * remove unnecessary subscript * fix new errors from master * change category click handler to a class property * fix camelcase changes that slipped by * unused import * Fix newly introduced ESLint errors from addGenes
11 lines
367 B
JavaScript
11 lines
367 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(100000);
|
|
if (DEV) jest.setTimeout(10000);
|