Skip to content

Commit

Permalink
Replace the old AB test with the refactored one
Browse files Browse the repository at this point in the history
  • Loading branch information
deedeeh committed Jul 22, 2024
1 parent 4c0bfb3 commit fa5856f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/header-bidding/utils.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { isString } from '@guardian/libs';
import { once } from 'lodash-es';
import { createAdSize } from 'core/ad-sizes';
import { isInVariantSynchronous } from 'experiments/ab';
import { isUserInVariant } from 'experiments/ab';
import { prebidMagnite } from 'experiments/tests/prebid-magnite';
import {
getCurrentTweakpoint,
Expand Down Expand Up @@ -204,7 +204,7 @@ export const shouldIncludeKargo = (): boolean => isInUsa();
export const shouldIncludeMagnite = (): boolean =>
(isInUk() || isInRow() || isInUsOrCa() || isInAuOrNz()) &&
!!window.guardian.config.switches.prebidMagnite &&
isInVariantSynchronous(prebidMagnite, 'variant');
isUserInVariant(prebidMagnite, 'variant');

export const shouldIncludeMobileSticky = once(
(): boolean =>
Expand Down

0 comments on commit fa5856f

Please sign in to comment.