Skip to content

Commit

Permalink
Add layout attribute to amp-story-consent test element (#24824)
Browse files Browse the repository at this point in the history
  • Loading branch information
jackbsteinberg authored and gmajoulet committed Sep 30, 2019
1 parent 04fdc51 commit 8370cee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions extensions/amp-story/1.0/test/test-amp-story.js
Original file line number Diff line number Diff line change
Expand Up @@ -545,6 +545,7 @@ describes.realWin(

const consentEl = win.document.createElement('amp-consent');
const storyConsentEl = win.document.createElement('amp-story-consent');
storyConsentEl.setAttribute('layout', 'nodisplay');
consentEl.appendChild(storyConsentEl);
element.appendChild(consentEl);

Expand Down

0 comments on commit 8370cee

Please sign in to comment.