Skip to content

Commit

Permalink
fix: add experimental flag (#4649)
Browse files Browse the repository at this point in the history
  • Loading branch information
FredrikOseberg authored Sep 8, 2023
1 parent 26ade79 commit f6a157f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/__snapshots__/create-config.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ exports[`should create default config 1`] = `
"demo": false,
"disableBulkToggle": false,
"disableNotifications": false,
"doraMetrics": false,
"embedProxy": true,
"embedProxyFrontend": true,
"featureNamingPattern": false,
Expand Down Expand Up @@ -109,6 +110,7 @@ exports[`should create default config 1`] = `
"demo": false,
"disableBulkToggle": false,
"disableNotifications": false,
"doraMetrics": false,
"embedProxy": true,
"embedProxyFrontend": true,
"featureNamingPattern": false,
Expand Down
4 changes: 4 additions & 0 deletions src/lib/types/experimental.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit f6a157f

Please sign in to comment.