1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

test: device count without experimental env key (#8771)

This commit is contained in:
Tymoteusz Czech 2024-11-15 12:28:17 +01:00 committed by GitHub
parent 9d5fceb5bf
commit 2ffff25a4a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 = {