mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-01-16 20:42:14 +01:00
Apply test-ids for all stages except production
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-ignore
|
||||
// @ts-ignore scmStage is set on the index page
|
||||
export const isDevBuild = () => (window.scmStage || "").toUpperCase() === "DEVELOPMENT";
|
||||
export const isDevBuild = () => (window.scmStage || "").toUpperCase() !== "PRODUCTION";
|
||||
|
||||
export const createAttributesForTesting = (testId?: string) => {
|
||||
if (!testId) {
|
||||
|
||||
Reference in New Issue
Block a user