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: Refactor progress extraction and add tests #40

Merged
merged 1 commit into from
Jul 13, 2024
Merged

Conversation

meyfa
Copy link
Member

@meyfa meyfa commented Jul 13, 2024

This patch:

  • moves progress extraction to a separate file
  • replaces the config parameter with a more granular options parameter to simplify dependency injection
  • removes completely unused duration property from interface ProgressItem

Finally, it adds unit tests for the extraction function.

@meyfa meyfa requested a review from a team as a code owner July 13, 2024 10:32
This patch:

- moves progress extraction to a separate file
- replaces the config parameter with a more granular options
  parameter to simplify dependency injection
- removes completely unused `duration` property from
  interface `ProgressItem`

Finally, it adds unit tests for the extraction function.
@meyfa meyfa force-pushed the fix/test-progress branch from 249af07 to d318a4f Compare July 13, 2024 10:34
@lusu007 lusu007 merged commit 060f041 into main Jul 13, 2024
3 checks passed
@lusu007 lusu007 deleted the fix/test-progress branch July 13, 2024 10:39
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