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 timer issue in unit tests #27

Merged
merged 1 commit into from Nov 9, 2022

Conversation

jakeBrightHR
Copy link
Contributor

Create a Timer variable to store the repeatPauseDuration.

We can then cancel this Timer in the onDispose() method.

This fixes the FakeTimer error when using this Widget in unit tests

Create a Timer variable to store the repeatPauseDuration.

We can then cancel this Timer in the onDispose() method.

This fixes the FakeTimer error when using this Widget in unit tests
@apgapg apgapg merged commit 28240e0 into apgapg:master Nov 9, 2022
@apgapg
Copy link
Owner

apgapg commented Nov 9, 2022

Thanks @jakeBrightHR for this change

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.

None yet

2 participants