Skip to content

Conversation

@JGBSouza
Copy link

This commit adds tests for the app mod functions, increasing patch hub tests coverage. The Logger initialization and Garbage Collector execution were wrapped in an if !cfg!(test) block. This change prevents double initialization panics and I/O errors during testing, ensuring that production logic does not interfere with the isolated test environment.

This commit adds tests for the app mod functions, increasing
patch hub tests coverage. The Logger initialization and Garbage Collector
execution were wrapped in an `if !cfg!(test)` block. This change prevents double
initialization panics and I/O errors during testing, ensuring that production
logic does not interfere with the isolated test environment.

Signed-off-by: JGBSouza <[email protected]>
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.

1 participant