Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
TsayAdobe committed Dec 10, 2024
1 parent ddf1dc2 commit 84f33da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/blocks/dc-converter-widget/dc-converter-widget.jest.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ describe('dc-converter-widget', () => {
await init(block);
window.dispatchEvent(new CustomEvent('IMS:Ready'));
window.dispatchEvent(new CustomEvent('DC_Hosted:Ready'));
expect(fetchUrl).toMatch(/^https:\/\/www.adobe.com\/dc\//);
expect(fetchUrl).toMatch(/^https:\/\/acrobat.adobe.com\//);
});

it('handles content inserted from edge', async () => {
Expand Down Expand Up @@ -124,7 +124,7 @@ describe('dc-converter-widget', () => {
window.location = new URL(`https://${hostname}/acrobat/online/pdf-to-ppt.html`);
const block = document.querySelector('.dc-converter-widget');
await init(block);
expect(fetchUrl).toMatch(/^https:\/\/www.stage.adobe.com\/dc\//);
expect(fetchUrl).toMatch(/^https:\/\/stage.acrobat.adobe.com\//);
});

it('loads widget failed from prod env', async () => {
Expand Down

0 comments on commit 84f33da

Please sign in to comment.