Skip to content

Commit

Permalink
ignore polyfills
Browse files Browse the repository at this point in the history
  • Loading branch information
Timer committed Nov 2, 2019
1 parent f496dfe commit 6476ac4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/integration/production/test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,10 @@ describe('Production Usage', () => {

for (const script of $('script').toArray()) {
// application/json doesn't need defer
if (script.attribs.type === 'application/json') {
if (
script.attribs.type === 'application/json' ||
script.src.includes('polyfills')
) {
continue
}

Expand Down

0 comments on commit 6476ac4

Please sign in to comment.