diff --git a/test/integration/test-example-validation.js b/test/integration/test-example-validation.js index 7e900275a9f0..73120bf091e3 100644 --- a/test/integration/test-example-validation.js +++ b/test/integration/test-example-validation.js @@ -63,7 +63,6 @@ describe('example', function() { */ const errorWhitelist = [ /invalid value \'.\/viewer-integr.js\'/, - /amp-embed/ ]; const usedWhitelist = []; diff --git a/test/integration/test-released.js b/test/integration/test-released.js index 2ee08394887e..4b630f4b6f42 100644 --- a/test/integration/test-released.js +++ b/test/integration/test-released.js @@ -33,10 +33,9 @@ function runTest(shouldKillPolyfillableApis) { if (shouldKillPolyfillableApis) { win.Promise = undefined; } - }) - .then(f => { - fixture = f; - }); + }).then(f => { + fixture = f; + }); }); // There is really weird behavior when running this test in FF in @@ -74,7 +73,7 @@ function checkGlobalScope(win) { // Checks that we don't leak certain symbols to the global scope. // This could happen if we do not wrap all our code in a closure. const commonSymbols = [ - '$', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'x', 'z', '_', 'log']; + '$', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'x', 'z', '_', 'log']; expect(win).to.not.include.keys(commonSymbols); expect(win).to.not.include.keys(commonSymbols.map(symbol => { return symbol.toUpperCase();