Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/mean-sheep-clean.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@scaleway/cookie-consent': patch
---

cover more edge cases for cookie tests
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,20 @@ globalThis.fetch = jest.fn<any>(() =>
website: 'http://google-ta.com',
category: 'Unknown Category',
},
{
name: 'Google Ads (Gtag)',
creationName: 'Google AdWords New',
description: `Advertise on Google and put your message in front of potential customers right when they're searching for what you have to offer.`,
website: 'https://adwords.google.com',
category: 'Advertising',
},
{
name: 'Amplitude (Actions)',
creationName: 'Actions Amplitude',
description: `Amplitude is an event tracking and segmentation platform for your web and mobile apps. By analyzing the actions your users perform, you can gain a better understanding to drive retention, engagement, and conversion.`,
website: 'https://amplitude.com',
category: 'Analytics',
},
]),
}),
)
Expand Down Expand Up @@ -72,6 +86,14 @@ describe('CookieConsent - useSegmentIntegrations', () => {
category: 'marketing',
name: 'Scaleway Custom',
},
{
category: 'marketing',
name: 'Google AdWords New',
},
{
category: 'analytics',
name: 'Amplitude (Actions)',
},
])
})

Expand Down