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

test(esl-toggleable): cover dispatcher with tests #1811

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

fshovchko
Copy link
Contributor

This PR is a part of 50% voverage goal #1786

@fshovchko fshovchko requested a review from a team July 18, 2023 18:01
@fshovchko fshovchko self-assigned this Jul 18, 2023
@fshovchko fshovchko requested review from dshovchko, ala-n and yadamskaya and removed request for a team July 18, 2023 18:01
@fshovchko fshovchko linked an issue Jul 18, 2023 that may be closed by this pull request
15 tasks
Copy link
Collaborator

@ala-n ala-n left a comment

Choose a reason for hiding this comment

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

Consider a more isolated way of tasting.
Consider the ESLTogglableDispatcher as a component with an open event-based API.
So please think about creating a mock event and toggleable instances.
It sounds better to have integration testing simplified to the most important cases only and to be separated from more detailed unit tests of ESLToggleableDispatcher

@ala-n ala-n force-pushed the main branch 6 times, most recently from 1f18a8a to 6506db7 Compare August 8, 2023 15:19
@fshovchko fshovchko requested a review from ala-n August 14, 2023 18:19
@codeclimate
Copy link

codeclimate bot commented Aug 14, 2023

Code Climate has analyzed commit 299cc9c and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 50.3% (1.0% change).

View more on Code Climate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants