diff --git a/lib/core/imports/index.js b/lib/core/imports/index.js index 6e82f39c2f..9b81dbf878 100644 --- a/lib/core/imports/index.js +++ b/lib/core/imports/index.js @@ -10,7 +10,9 @@ * Polyfill `Promise` * Reference: https://www.npmjs.com/package/es6-promise */ -require('es6-promise').polyfill(); +if (!('Promise' in window)) { + require('es6-promise').polyfill(); +} /** * Namespace `axe.imports` which holds required external dependencies