diff --git a/src/__tests__/open-crypto-pay.test.ts b/src/__tests__/open-crypto-pay.test.ts index 94e6b374e..366878c5d 100644 --- a/src/__tests__/open-crypto-pay.test.ts +++ b/src/__tests__/open-crypto-pay.test.ts @@ -15,7 +15,7 @@ jest.mock('../util/utils', () => { const originalModule = jest.requireActual('../util/utils'); return { ...originalModule, - url: ({ base = 'https://services.dfx.swiss', path = '', params }: { base?: string; path?: string; params?: URLSearchParams }) => { + url: ({ base = 'https://app.dfx.swiss', path = '', params }: { base?: string; path?: string; params?: URLSearchParams }) => { const normalizedBase = base?.replace(/\/+$/, '') + '/'; const normalizedPath = path.replace(/^\/+/, ''); const absoluteUrl = new URL(normalizedPath, normalizedBase);