1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

fix: add experimental flag (#4649)

This commit is contained in:
Fredrik Strand Oseberg 2023-09-08 15:52:10 +02:00 committed by GitHub
parent 26ade79d66
commit f6a157f2f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -74,6 +74,7 @@ exports[`should create default config 1`] = `
"demo": false,
"disableBulkToggle": false,
"disableNotifications": false,
"doraMetrics": false,
"embedProxy": true,
"embedProxyFrontend": true,
"featureNamingPattern": false,
@ -109,6 +110,7 @@ exports[`should create default config 1`] = `
"demo": false,
"disableBulkToggle": false,
"disableNotifications": false,
"doraMetrics": false,
"embedProxy": true,
"embedProxyFrontend": true,
"featureNamingPattern": false,

View File

@ -128,6 +128,10 @@ const flags: IFlags = {
process.env.UNLEASH_EXPERIMENTAL_FEATURE_NAMING_PATTERN,
false,
),
doraMetrics: parseEnvVarBoolean(
process.env.UNLEASH_EXPERIMENTAL_DORA_METRICS,
false,
),
};
export const defaultExperimentalOptions: IExperimentalOptions = {