-
Notifications
You must be signed in to change notification settings - Fork 450
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
Conversation
fast-deep-equal is lessy buggy, much faster, and better maintained than deep-is
… change browser requirements
There was a problem hiding this 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.
test/pubsub-memory.js
Outdated
@@ -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; |
There was a problem hiding this comment.
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; |
There was a problem hiding this comment.
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')
For some reason `.an('error')` isn't working with our custom error objects
Update dependencies to current versions: