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

Update dependencies & node versions in travis #318

Merged
merged 8 commits into from
Oct 29, 2019
Merged

Conversation

nateps
Copy link
Contributor

@nateps nateps commented Oct 25, 2019

Update dependencies to current versions:

  • deep-is => fast-deep-equal, since deep-is has some correctness bugs, is much slower, and isn't well maintained
  • expect.js => chai for assertions
  • instanbul => nyc for generating coverage reports
  • Update all dev-dependency versions to current
  • Add Node 12 & remove Node 6 from travis configuration to bring current with Node LTS versions

@coveralls
Copy link

coveralls commented Oct 25, 2019

Coverage Status

Coverage decreased (-0.09%) to 96.69% when pulling a0b7265 on update-dependencies into 7c21f49 on master.

Copy link
Contributor

@ericyhwang ericyhwang left a comment

Choose a reason for hiding this comment

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

Keep in mind that, if we merge this now, we'd need to update the branches for open PRs, including the PR for presence and the 1.0 PRs.

@@ -13,7 +13,7 @@ describe('PubSub base class', function() {
it('returns an error if _subscribe is unimplemented', function(done) {
var pubsub = new PubSub();
pubsub.subscribe('x', function(err) {
expect(err).an(Error);
expect(err).ok;
Copy link
Contributor

Choose a reason for hiding this comment

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

For this file, Chai equivalent of the old expect(err).an(Error) would be expect(err).to.be.an('Error').

test/pubsub.js Outdated
@@ -78,7 +78,7 @@ module.exports = function(create) {

it('can emit events', function(done) {
this.pubsub.on('error', function(err) {
expect(err).an(Error);
expect(err).ok;
Copy link
Contributor

Choose a reason for hiding this comment

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

Same here, expect(err).to.be.an('Error')

@nateps nateps merged commit 8de47b6 into master Oct 29, 2019
@nateps nateps deleted the update-dependencies branch October 29, 2019 00:04
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