Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Updated comment to make it more clear
  • Loading branch information
mszylkowski committed Oct 6, 2021
commit 37f0a80fea9ef53f38516f2f72496cf057b7e3f3
3 changes: 2 additions & 1 deletion extensions/amp-story/1.0/test/test-amp-story.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ describes.realWin(

AmpStory.isBrowserSupported = () => true;

/** Control element lifecycle by preventing automatic callback calls. */
// Fakes the size of amp-story so it's not built/laid out until we call build/layoutCallbacks
// allowing us to mock function calls before the lifecycle callbacks.
setImportantStyles(win.document.documentElement, {'height': 'auto'});
});

Expand Down