Closed kptdobe closed 1 month ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 100.00%. Comparing base (
8805b49
) to head (501fa70
). Report is 4 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This PR will trigger a minor release when merged.
Need to revisit... the viewblock
test is not correct, need to fix it first.
ok, much better now: I split the observer into 2 observers (one for the blocks and one for the media) to optimized the mutations we observe (we cannot do one observer with the 2 configs). Tests are also properly testing the late added elements. Note that with some code tweaks (stupid...), the coverage is now at 100%.
:tada: This issue has been resolved in version 2.20.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Fix https://github.com/adobe/helix-rum-enhancer/issues/225
Thanks to @trieloff, we have now a good test coverage, I feel more confident that this does not break everything. Changed the MutationObserver logic to listen to all changes and start observing newly added assets.