Skip to content

Commit

Permalink
feat: notifications flag (#3172)
Browse files Browse the repository at this point in the history
Adds feature flag for notification
  • Loading branch information
kwasniew committed Feb 21, 2023
1 parent f8c8264 commit ac9da97
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/__snapshots__/create-config.test.ts.snap
Expand Up @@ -78,6 +78,7 @@ exports[`should create default config 1`] = `
"maintenanceMode": false,
"messageBanner": false,
"newProjectOverview": false,
"notifications": false,
"projectStatusApi": false,
"proxyReturnAllToggles": false,
"responseTimeWithAppName": false,
Expand All @@ -98,6 +99,7 @@ exports[`should create default config 1`] = `
"maintenanceMode": false,
"messageBanner": false,
"newProjectOverview": false,
"notifications": false,
"projectStatusApi": false,
"proxyReturnAllToggles": false,
"responseTimeWithAppName": false,
Expand Down
1 change: 1 addition & 0 deletions src/lib/types/experimental.ts
Expand Up @@ -62,6 +62,7 @@ const flags = {
process.env.UNLEASH_STRICT_SCHEMA_VALIDTION,
false,
),
notifications: parseEnvVarBoolean(process.env.NOTIFICATIONS, false),
};

export const defaultExperimentalOptions: IExperimentalOptions = {
Expand Down

0 comments on commit ac9da97

Please sign in to comment.