Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a0790d15 authored by João Henrique's avatar João Henrique
Browse files

test: add test for global style rules in DisplayHtmlTest

This commit adds a test to `DisplayHtmlTest.kt` to verify that the `wrapMessageContent` function correctly adds global CSS style rules. Specifically, it checks for the presence of `word-break: break-word;` and `overflow-wrap: break-word;` rules applied to the `*` selector.

A helper assertion function `containsStyleRulesFor` is also introduced to facilitate checking CSS rules within the HTML output.
parent 1d869bd4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment