diff --git a/dotcom-rendering/src/lib/cardHelpers.test.ts b/dotcom-rendering/src/lib/cardHelpers.test.ts index c0f8339dcf..aee5079817 100644 --- a/dotcom-rendering/src/lib/cardHelpers.test.ts +++ b/dotcom-rendering/src/lib/cardHelpers.test.ts @@ -33,7 +33,7 @@ describe('cardHasDarkBackground', () => { { format: galleryFormat, containerPalette: undefined, - expectedResult: true, + expectedResult: false, }, { format: pictureFormat, diff --git a/dotcom-rendering/src/lib/cardHelpers.ts b/dotcom-rendering/src/lib/cardHelpers.ts index 9f204ae357..0bc491e6a2 100644 --- a/dotcom-rendering/src/lib/cardHelpers.ts +++ b/dotcom-rendering/src/lib/cardHelpers.ts @@ -40,7 +40,7 @@ export const cardHasDarkBackground = ( case 'PodcastPalette': // If no containerPalette provided, card is in a standard container case undefined: { - return isMediaCard(format); + return false; } } };