charlie-tango / react-umbraco

React components for working with Umbraco Headless
MIT License
5 stars 1 forks source link

Test Suite for UmbracoRichText #1

Closed fbosch closed 5 months ago

fbosch commented 5 months ago

Added tests for rendering, error handling, and custom rendering in the UmbracoRichText component.

• Covered rendering scenarios for nested elements, text decoding, and block elements. • Tested attribute mapping, style conversion, and custom node rendering. • Included tests for rendering edge cases, error handling, and custom rendering scenarios. • Ensured proper handling of class attributes, style conversion, and default node rendering.