Skip to content

Commit

Permalink
Adding aem domains & test
Browse files Browse the repository at this point in the history
  • Loading branch information
joaquinrivero committed Dec 23, 2024
1 parent c13b51e commit d6ff62a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions acrobat/blocks/mobile-widget/mobile-widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,8 @@ const internalDomains = [
];

const internalPatterns = [
'**--dc--adobecom.aem.page',
'**--dc--adobecom.aem.live',
'**--dc--adobecom.hlx.page',
'**--dc--adobecom.hlx.live',
];
Expand Down
2 changes: 2 additions & 0 deletions test/blocks/mobile-widget/mobile-widget.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import { expect } from '@esm-bundle/chai';

const { default: init } = await import('../../../acrobat/blocks/mobile-widget/mobile-widget.js');

sessionStorage.setItem('modalDismissed', 'true');

describe('Mobile widget', () => {
it('is complete', async () => {
document.body.innerHTML = await readFile({ path: './mocks/body.html' });
Expand Down

0 comments on commit d6ff62a

Please sign in to comment.