From 2ffff25a4a81ad66dc1e2ffd963b41b8aaa011f9 Mon Sep 17 00:00:00 2001 From: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com> Date: Fri, 15 Nov 2024 12:28:17 +0100 Subject: [PATCH] test: device count without experimental env key (#8771) --- src/lib/types/experimental.ts | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/src/lib/types/experimental.ts b/src/lib/types/experimental.ts index 1bc29eb363..6427965447 100644 --- a/src/lib/types/experimental.ts +++ b/src/lib/types/experimental.ts @@ -1,5 +1,5 @@ import { PayloadType, type Variant } from 'unleash-client'; -import { parseEnvVarBoolean, parseEnvVarNumber } from '../util'; +import { parseEnvVarBoolean } from '../util'; import { getDefaultVariant } from 'unleash-client/lib/variant'; export type IFlagKey = @@ -289,20 +289,6 @@ const flags: IFlags = { process.env.UNLEASH_EXPERIMENTAL_FLAG_OVERVIEW_REDESIGN, false, ), - showUserDeviceCount: { - name: 'showUserDeviceCount', - enabled: parseEnvVarBoolean( - process.env.UNLEASH_EXPERIMENTAL_SHOW_USER_DEVICE_COUNT, - false, - ), - payload: { - type: PayloadType.NUMBER, - value: `${parseEnvVarNumber( - process.env.UNLEASH_EXPERIMENTAL_WARN_ABOVE_SESSION_COUNT, - 0, - )}`, - }, - }, }; export const defaultExperimentalOptions: IExperimentalOptions = {