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
Lint
  • Loading branch information
coreymasanto committed Oct 21, 2021
commit 39332cf841aacf2b5f5a55fe9e3c13c1af6d7bfd
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ describes.realWin('amp-story-page-attachment', {amp: true}, (env) => {
let outlink;

beforeEach(() => {
const win = env.win;
const {win} = env;

// Set up the story.
const storyEl = win.document.createElement('amp-story');
Expand Down Expand Up @@ -47,7 +47,7 @@ describes.realWin('amp-story-page-attachment', {amp: true}, (env) => {
it('should build amp-story-page-outlink with target="_top" even when the publisher has specified a different value', async () => {
const anchorEl = outlinkEl.querySelector('amp-story-page-outlink a');
anchorEl.setAttribute('target', '_blank');

outlink.buildCallback();
await outlink.layoutCallback();

Expand Down