1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-11 00:08:30 +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, "demo": false,
"disableBulkToggle": false, "disableBulkToggle": false,
"disableNotifications": false, "disableNotifications": false,
"doraMetrics": false,
"embedProxy": true, "embedProxy": true,
"embedProxyFrontend": true, "embedProxyFrontend": true,
"featureNamingPattern": false, "featureNamingPattern": false,
@ -109,6 +110,7 @@ exports[`should create default config 1`] = `
"demo": false, "demo": false,
"disableBulkToggle": false, "disableBulkToggle": false,
"disableNotifications": false, "disableNotifications": false,
"doraMetrics": false,
"embedProxy": true, "embedProxy": true,
"embedProxyFrontend": true, "embedProxyFrontend": true,
"featureNamingPattern": false, "featureNamingPattern": false,

View File

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