diff --git a/karma.conf.js b/karma.conf.js index 1880b1e2d8..332ba9be0d 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -131,20 +131,9 @@ module.exports = config => { break; case 'esm': - // for now we will only run against Chrome to test this. - if (cfg.sauceLabs) { - cfg.sauceLabs.testName = 'ESM Integration Tests'; - cfg.browsers = ['chrome@latest']; - cfg.customLaunchers = { - 'chrome@latest': cfg.customLaunchers['chrome@latest'] - }; - } else if (!env.TRAVIS) { - cfg.browsers = ['Chrome']; - } else { - console.error( - 'skipping ESM tests & exiting; no SauceLabs nor local run detected'); - process.exit(0); - } + // just run against ChromeHeadless, since other browsers may not + // support + cfg.browsers = ['ChromeHeadless']; cfg.files = [ 'test/browser-fixtures/esm.fixture.html', 'test/browser-specific/esm.spec.js'