Skip to content
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

Fix unseen count #4084

Merged
merged 2 commits into from
Sep 3, 2023
Merged

Fix unseen count #4084

merged 2 commits into from
Sep 3, 2023

Conversation

djabarovgeorge
Copy link
Contributor

What change does this PR introduce?

Fix the unseen count default query param and test.

Why was this change needed?

Other information (Screenshots)

Comment on lines +186 to +187
async function getUnseenCount(query = {}) {
const response = await axios.get(`http://localhost:${process.env.PORT}/v1/widgets/notifications/unseen`, {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we had count tests instead of unseen count, those tests should have been under get-count e2e. i moved them there and created proper tests for unseen count one.

@djabarovgeorge djabarovgeorge merged commit 908fb97 into next Sep 3, 2023
@djabarovgeorge djabarovgeorge deleted the fix-unseen-count branch September 3, 2023 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants