webpack icon indicating copy to clipboard operation
webpack copied to clipboard

Use Chrome Launcher instead of PhantomJS in Karma

Open Quramy opened this issue 7 years ago • 4 comments

What about using ChromeHeadless as suggested here https://stackoverflow.com/a/41561847? It would fit better for CI setups

sgimeno avatar Nov 29 '17 11:11 sgimeno

Chrome headless is totally better

ematipico avatar Dec 06 '17 16:12 ematipico

Related #726 . Not sure if the Karma+Mocha option will be deprecated, though.

frandiox avatar Dec 22 '17 17:12 frandiox

I think we need also to "install" Chrome. In my projects I have puppeteer added as dev dependency, and line:

process.env.CHROME_BIN = require('puppeteer').executablePath()

inside karma.conf.js.

lusarz avatar Jan 14 '19 12:01 lusarz