Skip to content

Commit

Permalink
Fix amp-ad test (ampproject#7918)
Browse files Browse the repository at this point in the history
  • Loading branch information
muxin authored and kmh287 committed Mar 13, 2017
1 parent 21a3780 commit 8060921
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/amp-ad/0.1/test/test-amp-ad.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ describe('Ad loader', () => {
const meta = doc.createElement('meta');
meta.setAttribute('name', 'amp-3p-iframe-src');
meta.setAttribute('content', 'https://example.com/remote.html');
doc.head.append(meta);
doc.head.appendChild(meta);
a4aRegistry['zort'] = () => true;
ampAdElement.setAttribute('type', 'zort');
const upgraded = new AmpAd(ampAdElement).upgradeCallback();
Expand Down

0 comments on commit 8060921

Please sign in to comment.