Skip to content

Conversation

@agentfarmx
Copy link

@agentfarmx agentfarmx bot commented Mar 13, 2025

agent_instance: okrohan_html-inline-external_issue_2_b13ced5c Tries to fix: #2

Unit Tests Added Successfully

This PR adds comprehensive unit tests to the html-inline-external library, providing test coverage for core functionality, edge cases, CLI commands, and utility functions.

  • Added: Tests for inlining external scripts, stylesheets, images, and favicons
  • Added: Edge case handling (empty HTML, invalid paths, mixed content)
  • Improved: Overall code quality with 92.59% statement coverage
  • Modified: Package.json to support test commands and dependencies

The tests now verify that the library correctly transforms HTML by inlining external resources, while maintaining proper behavior for edge cases and external URLs.

@agentfarmx agentfarmx bot mentioned this pull request Mar 13, 2025
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.

Add Unit Tests

1 participant