@capillarytech/creatives-library 8.0.161 → 8.0.162
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -80,7 +80,7 @@ export const mediaTypeOptions = ({host, templateCategory}) => {
|
|
|
80
80
|
tagColor: CAP_GREEN02,
|
|
81
81
|
tagTextColor: CAP_GREEN01,
|
|
82
82
|
},
|
|
83
|
-
...(templateCategory === WHATSAPP_CATEGORIES.marketing && host === HOST_GUPSHUP
|
|
83
|
+
...(templateCategory === WHATSAPP_CATEGORIES.marketing && (host === HOST_GUPSHUP || host === HOST_KARIX)
|
|
84
84
|
? [
|
|
85
85
|
{
|
|
86
86
|
key: 'CAROUSEL',
|
|
@@ -577,7 +577,7 @@ describe('mediaTypeOptions', () => {
|
|
|
577
577
|
? opt.some((o) => o.key === 'CAROUSEL')
|
|
578
578
|
: opt.key === 'CAROUSEL'
|
|
579
579
|
) || options.flat().some((o) => o.key === 'CAROUSEL');
|
|
580
|
-
expect(hasCarousel).toBe(
|
|
580
|
+
expect(hasCarousel).toBe(true);
|
|
581
581
|
});
|
|
582
582
|
|
|
583
583
|
it('should NOT include CAROUSEL when category is NOT MARKETING and host is HOST_GUPSHUP', () => {
|