Skip to content

Commit

Permalink
test: device count without experimental env key (#8771)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tymek authored Nov 15, 2024
1 parent 9d5fceb commit 2ffff25
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions src/lib/types/experimental.ts
Original file line number Diff line number Diff line change
@@ -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 =
Expand Down Expand Up @@ -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 = {
Expand Down

0 comments on commit 2ffff25

Please sign in to comment.