-
Notifications
You must be signed in to change notification settings - Fork 13
Conflict with dispatch:mocha-phantomjs? #23
Comments
@gadicc, yes, we don't co-exist nicely, since both of us are adding mocha independently. I suggest you wait a couple of days until we get support for 1.3 in spacejam and practicalmeteor:mocha-console-runner. Long term we hope to create a pr into mocha with the meteor specific support of having multiple html reporters to eliminate those things altogether, so you could just npm install mocha independently of any of the two packages. |
@rbabayoff I now have all the |
If `practicalmeteor:chai` is used we are locking into the `practicalmeteor` ecosystem. However if we keep to npm chai we can use other test providers. See practicalmeteor/meteor-mocha#23 and https://github.com/xolvio/meteor-jasmine/issues/334#issuecomment-208725856 for other reasons.
Rather than practicalmeteor:chai, use the npm versions. This allows us to ensure we can get the latest versions possible of the libraries and allows us to do tests using other test packages. See practicalmeteor/meteor-mocha#23 and https://github.com/xolvio/meteor-jasmine/issues/334#issuecomment-208725856 for other reasons.
@rbabayoff what do you think about trying to settle on a single mocha core package? |
I'm really not sure what the difference between the core packages are? Why would you prefer to use yours @rbabayoff? |
@rbabayoff Our core pkg already depends on your |
@rbabayoff @tmeasday Here is a PR for combining the pkgs: practicalmeteor/meteor-mocha-core#6 |
Hello @tmeasday @aldeed @gadicc I just release a release candidate version (2.4.5-rc3.1) of the package using To use it just run Please feel free to test the changes and let us know any problem. Thanks |
@aldeed which version of your package it's using the same |
Our packages |
@aldeed the version of |
@aldeed Can you post here again when the RCs are out? |
When is this being resolved? @tmeasday |
Just waiting to hear from @aldeed . You can just use the dispatch reporter in the meantime if it's slowing you down @abhiaiyer91 |
Sorry for my late replies to this... I'm a bit behind and also have some weird new issue with my testing setup that I've run out of time to fix. In any event, I don't think I can test this without an updated |
@aldeed let us know if this works for you and if not, we'll reopen this. |
@rbabayoff @jsep I published new releases of all the @tmeasday Here is a PR updating todos app: meteor/todos#153 And the note in the guide should be updated as mentioned by @m4v3r above. If the latest release of all mocha packages is used, there is no conflict. Thanks all! |
Those are great news, thank you so much @aldeed ! |
Rather than practicalmeteor:chai, use the npm versions. This allows us to ensure we can get the latest versions possible of the libraries and allows us to do tests using other test packages. See practicalmeteor/meteor-mocha#23 and https://github.com/xolvio/meteor-jasmine/issues/334#issuecomment-208725856 for other reasons.
* mocha-phantomjs and practicalmeteor:mocha do not play well with each other, refer to existing issue practicalmeteor/meteor-mocha#23
I'm running like this:
And everything works. But if I add
dispatch:mocha-phantomjs
to my.meteor/packages
, with no other changes, server tests no longer run, I get:In case this doesn't affect all cases, there's a repro at gadicc/meteor-blaze-react-component@6a0e529.
The text was updated successfully, but these errors were encountered: