-
Notifications
You must be signed in to change notification settings - Fork 42
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
chore: new filter tests #1552
chore: new filter tests #1552
Conversation
size-limit report 📦
|
…re/new-filter-tests
}); | ||
|
||
it("Subscribe and receive messages via lightPush", async function () { | ||
// Subscribe to the content topic and set callback for received messages. |
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.
It's good to have comments but to me it seems we can drop some of them sicne it is clear what's happening by the code.
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.
Agreed, will remove some of them :)
@@ -2,7 +2,9 @@ import { | |||
createDecoder, |
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.
Amazing job! I have only one comment here - the file is huge now.
I propose to break it into some files under filter
folder.
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.
Yes, makes sense, I'll create a folder with multiple files based on features:
- subscribe
- ping
- unsubscribe
- filterPush
- filterTestUtils
Makes sense?
@weboko thanks for the review! Can you also please merge it :) ? |
Problem
After reviewing the filter tests found the following problems:
Solution
Added PR with following fixes:
Notes
Subscribe and receive messages from multiple nwaku nodes