diff --git a/extensions/amp-ad/0.1/test/test-amp-ad.js b/extensions/amp-ad/0.1/test/test-amp-ad.js index d7c12bb31613..99ab24ee6ea2 100644 --- a/extensions/amp-ad/0.1/test/test-amp-ad.js +++ b/extensions/amp-ad/0.1/test/test-amp-ad.js @@ -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();