developit / karmatic

🦑 Easy automatic (headless) browser testing with Jest's API, but powered by Karma & Webpack.
https://npm.im/karmatic
1.17k stars 42 forks source link

Upgrade Karma and puppeteer #39

Closed andrewiggins closed 4 years ago

andrewiggins commented 4 years ago

Karma and puppeteer were approaching a year old so wanted to bring them up to date.

Breaking changes in karma 5:

I don't think any of these affect our plugins as all our tests pass. I mainly wanted to upgrade Karma cuz it includes some slightly better error reporting for "unhandlerejections" which I hit recently.

Also wanted to upgrade puppeteer to reduce the likelihood of consumers downloading multiple copies of puppeteer. Perhaps for the next major version we should consider making puppeteer a peerDep so consumers can control which version of Chromium their tests run against?