-
Notifications
You must be signed in to change notification settings - Fork 29
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
Incompatibility with chai@4 #71
Comments
@aqrln I think this is just a case of the browser build needing to be updated. The Pinging @keithamus |
@meeber oh, sorry, I forgot to mention the environment. It is Node, not a browser. I've updated the first comment to avoid further confusion. |
@aqrln It looks like the last npm release was also before the fix. Does it break when installing this plugin from the github master branch? |
Yeah, I see now. I was about to write this, but you beat me to it :)
I'll try it in a minute. |
@meeber yep, it works. Thanks! |
chai version: 4.0.1 I had the same error as @aqrln, and installing from github fixed it. Now i ran to the following error
Would appreciate any help or direction on how to figure this issue out. Thanks |
@tindn regarding this error, I believe we should be able to just update the package from the npm registry on Sunday, yay. I'd open a new issue for the second one, let's keep this thread on-topic. Such thing tend to become lost if they aren't in an appropriate place, especially given that I'm going to go ahead and close this issue as it is actually resolved now (well, not yet completely, but the release is scheduled, so there's no point in keeping this on the backlog). |
So according to the linked issue, only the master branch of this plugin is working. The tagged npm release 0.7.1 is not. Can we get a release to bump or are we all forced to tag this package to master?
or if you like to lock it to current HEAD:
|
@keithamus What's the release process for this module? Manually bump version numbers in files, open PR, merge PR, tag commit, let travis do its thing? |
@meeber right now manually release. I'm working on a PR to get it in-line with |
can we get a quick bump to 0.7.2 with current master? locking package at certain commit/branch breaks our deploy 😞 |
Same here in our world... could really use a bump to 0.7.2... Actually I'm surprised there hasn't been a version release since this issue has been known for almost 2 months and there has been talk more than a month ago that the release was scheduled... Does it really take that long to push a patch version?! |
Could probably switch to SinonJS easily enough. API seems similar. Anyone tried this? Update: https://github.com/domenic/sinon-chai |
I've published |
Remove chai-spies as its not being maintained properly chaijs/chai-spies#71
You're a hero, @shellscape |
Ping @keithamus |
@kontrollanten @hypescript I've moved on from chai in general - the mismanagement of the projects in the org was just too brutal - so I'm probably not going to be maintaining chai-spies-next actively, if at all. If either/both of you (or anyone else) would like to be added as a collaborator, please ping me on the twitters @shellscape and I'll get you setup. |
Please note, that: * cannot use chai-spies due to chaijs/chai-spies#71 * async calls to next won't be detected, just as they were not detected before
At least it works for now, thanks @shellscape |
chai version: 4.0.0
chai-spies version: 0.7.1
Node.js version: 7.10.0
expect(spy).to.be.called.with(...)
fails with:Besides that, if this is a breaking change in the public API for plugin authors, it should probably have been mentioned in the release notes for
chai@4.0.0
.Thanks!
The text was updated successfully, but these errors were encountered: