diff --git a/src/lib/__snapshots__/create-config.test.ts.snap b/src/lib/__snapshots__/create-config.test.ts.snap index 7bffae99e6..592bee1e41 100644 --- a/src/lib/__snapshots__/create-config.test.ts.snap +++ b/src/lib/__snapshots__/create-config.test.ts.snap @@ -78,6 +78,7 @@ exports[`should create default config 1`] = ` "maintenanceMode": false, "messageBanner": false, "newProjectOverview": false, + "notifications": false, "projectStatusApi": false, "proxyReturnAllToggles": false, "responseTimeWithAppName": false, @@ -98,6 +99,7 @@ exports[`should create default config 1`] = ` "maintenanceMode": false, "messageBanner": false, "newProjectOverview": false, + "notifications": false, "projectStatusApi": false, "proxyReturnAllToggles": false, "responseTimeWithAppName": false, diff --git a/src/lib/types/experimental.ts b/src/lib/types/experimental.ts index fa596480ff..b4a304e282 100644 --- a/src/lib/types/experimental.ts +++ b/src/lib/types/experimental.ts @@ -62,6 +62,7 @@ const flags = { process.env.UNLEASH_STRICT_SCHEMA_VALIDTION, false, ), + notifications: parseEnvVarBoolean(process.env.NOTIFICATIONS, false), }; export const defaultExperimentalOptions: IExperimentalOptions = {