webpack
webpack copied to clipboard
Use Chrome Launcher instead of PhantomJS in Karma
What about using ChromeHeadless as suggested here https://stackoverflow.com/a/41561847? It would fit better for CI setups
Chrome headless is totally better
Related #726 . Not sure if the Karma+Mocha option will be deprecated, though.
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
.