Skip to content

test: add debug encoding message tests#988

Closed
mahmoodhamdi wants to merge 1 commit intomotdotla:masterfrom
mahmoodhamdi:test/config-encoding-debug
Closed

test: add debug encoding message tests#988
mahmoodhamdi wants to merge 1 commit intomotdotla:masterfrom
mahmoodhamdi:test/config-encoding-debug

Conversation

@mahmoodhamdi
Copy link
Copy Markdown
Contributor

Adds tests verifying the debug mode encoding behavior:

  • When no encoding is specified, debug mode logs a message about UTF-8 being the default
  • When encoding is explicitly provided, the UTF-8 default message is not logged

This covers the encoding branch in configDotenv that was previously untested.

Add tests verifying the debug mode encoding behavior:
- Logs UTF-8 default message when no encoding is specified
- Does not log encoding message when encoding is explicitly provided
@mahmoodhamdi
Copy link
Copy Markdown
Contributor Author

Closing this — I should have consolidated these into a single well-structured PR instead of opening them individually. Apologies for the noise.

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