Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade Karma and puppeteer #39

Merged
merged 2 commits into from
Jul 4, 2020

Conversation

andrewiggins
Copy link
Collaborator

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

Breaking changes in karma 5:

  • Karma plugins which rely on the fact that Karma uses Bluebird promises may break as Bluebird-specific API is no longer available on Promises returned by the Karma core
  • server: Deprecated createPreprocessor removed, karma-browserify < 7 version doesn't work
  • no more testing on node 8.

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?

Most breaking changes seem related to dropping older NodeJS support. Upgrading deps has benefit of bringing in newer versions of sub deps
Copy link
Collaborator

@marvinhagemeister marvinhagemeister left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sweet 🙌 ❤️

@marvinhagemeister marvinhagemeister merged commit 40b2471 into developit:master Jul 4, 2020
@andrewiggins andrewiggins deleted the upgrade-deps branch July 7, 2020 04:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants