-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Moves while loop to a function and stub it in the unit tests for…
… AttаchState (#539) This PR changes the onStart method in the AttachState class. So far we had a while loop in the onStart, which was updating the statusBoard. This made testing slow and not efficient. The while was moved to a separate function, which can be stubbed, therefore supporting better testing Signed-off-by: Konstantina Blazhukova <[email protected]>
- Loading branch information
1 parent
d680fc7
commit 4d410ba
Showing
2 changed files
with
59 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters