@@ -447,15 +447,15 @@ describe('getAtUserId', () => {
447
447
} ) ;
448
448
449
449
it ( 'should return the AT user id' , ( ) => {
450
- Cookie . set ( 'atuserid' , { val : ' some-random-uuid' } ) ;
450
+ Cookie . set ( 'atuserid' , '{ " val": " some-random-uuid" }' ) ;
451
451
cookieSetterSpy . mockClear ( ) ;
452
452
const atUserId = getAtUserId ( ) ;
453
453
454
454
expect ( atUserId ) . toEqual ( 'some-random-uuid' ) ;
455
455
} ) ;
456
456
457
457
it ( 'should store the existing AT user id as a stringified JSON value in cookies again so that we update the cookie expiration date' , ( ) => {
458
- Cookie . set ( 'atuserid' , { val : ' some-random-uuid' } ) ;
458
+ Cookie . set ( 'atuserid' , '{ " val": " some-random-uuid" }' ) ;
459
459
cookieSetterSpy . mockClear ( ) ;
460
460
const atUserId = getAtUserId ( ) ;
461
461
const [ [ cookieName , cookieValue , cookieOptions ] ] =
@@ -553,7 +553,7 @@ describe('getCampaignType', () => {
553
553
} ) ;
554
554
555
555
describe ( 'getRSSMarketingString' , ( ) => {
556
- describe . only ( '"RSS" prefix' , ( ) => {
556
+ describe ( '"RSS" prefix' , ( ) => {
557
557
it ( 'returns "src_medium" when marketing string is present in url' , ( ) => {
558
558
const href = 'https://www.bbc.com/mundo?at_medium=RSS' ;
559
559
expect ( getRSSMarketingString ( href , 'RSS' ) ) . toEqual ( [ SRC_RSS_FIXTURE ] ) ;
0 commit comments