File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 11import { log } from '../../core/log' ;
22
33const DEFAULT_SDK_PATH = 'https://sdk.privacy-center.org/' ;
4- const CONSENT_PROXY_PATH = '/didomi/consent/' ;
4+ const CONSENT_PROXY_PATH = '/integrations/ didomi/consent/' ;
55
66type DidomiConfig = {
77 sdkPath ?: string ;
Original file line number Diff line number Diff line change @@ -26,7 +26,9 @@ describe('integrations/didomi', () => {
2626 installDidomiSdkProxy ( ) ;
2727
2828 expect ( testWindow . didomiConfig ) . toBeDefined ( ) ;
29- expect ( testWindow . didomiConfig . sdkPath ) . toBe ( 'https://example.com/didomi/consent/' ) ;
29+ expect ( testWindow . didomiConfig . sdkPath ) . toBe (
30+ 'https://example.com/integrations/didomi/consent/'
31+ ) ;
3032 } ) ;
3133
3234 it ( 'preserves existing config fields while overriding sdkPath' , ( ) => {
@@ -35,6 +37,8 @@ describe('integrations/didomi', () => {
3537 installDidomiSdkProxy ( ) ;
3638
3739 expect ( testWindow . didomiConfig . apiKey ) . toBe ( 'abc' ) ;
38- expect ( testWindow . didomiConfig . sdkPath ) . toBe ( 'https://example.com/didomi/consent/' ) ;
40+ expect ( testWindow . didomiConfig . sdkPath ) . toBe (
41+ 'https://example.com/integrations/didomi/consent/'
42+ ) ;
3943 } ) ;
4044} ) ;
You can’t perform that action at this time.
0 commit comments