georapbox / angular-PubSub

Angular 1.x implementation of the Publish–Subscribe pattern.
MIT License
32 stars 13 forks source link

possible to Jasmine test angular-PubSub #5

Open walhow opened 7 years ago

walhow commented 7 years ago

Would it be possible to get an example Jasmine test that uses angular-PubSub? One of our appliations uses angular-PubSub, but we haven't been able to test our subscribes (pubsub) in Jasmine. Thanks

georapbox commented 7 years ago

angular-PubSub is a port for Angular of the PubSub package. As you might have seen in the README the package is not actively maintained. Only critical issues/bugs will be fixed from now on. In the PubSub repository there are tests using Karma and Jasmine, so you can get an idea of how to write some tests for your subscribers.

PS. As I mentioned in the deprecation notice in README, the repository and the npm package are not going anywhere. You can still use for current and future projects. It will just not get any new features.

walhow commented 7 years ago

Thank you for the feedback, I l'll check out the Angular pubsub tests. -wallace

On Jul 20, 2017 1:14 PM, "George Raptis" notifications@github.com wrote:

angular-PubSub is a port for Angular of the PubSub https://github.com/georapbox/PubSub package. As you might have seen in the README the package is not actively maintained. Only critical issues/bugs will be fixed from now on. In the PubSub https://github.com/georapbox/PubSub repository there are tests using Karma and Jasmine, so you can get an idea of how to write some tests for your subscribers.

PS. As I mentioned in the deprecation notice in README, the repository and the npm package are not going anywhere. You can still use for current and future projects. It will just not get any new features.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/georapbox/angular-PubSub/issues/5#issuecomment-316770941, or mute the thread https://github.com/notifications/unsubscribe-auth/AFrq6kWyr9hg6bHhkvvCocEa6ruBOfsMks5sP4rygaJpZM4OdHAo .