-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
feat: added minimal pubsub implementation #54
Conversation
Codecov Report
@@ Coverage Diff @@
## main #54 +/- ##
==========================================
- Coverage 91.93% 91.81% -0.13%
==========================================
Files 7 8 +1
Lines 1687 1808 +121
Branches 252 268 +16
==========================================
+ Hits 1551 1660 +109
- Misses 135 147 +12
Partials 1 1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
src/topic.ts
Outdated
onError(error: Error): void; | ||
} | ||
|
||
export class Topic<T extends TigrisCollectionType> { |
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.
please add test to cover this.
ec90fff
to
e68b4a4
Compare
done(); | ||
}, | ||
onEnd() { | ||
// not expected to be called |
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.
nit: should we put fail() here to get tighter grip?
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.
I've tried to add this before, it hits this bug: jestjs/jest#11698
🎉 This PR is included in version 1.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
No description provided.