Derby v0.10.28 Release Notes
Release Date: 2020-04-21 // over 4 years ago-
✅ #581 - Improve test-utils assertions (@ericyhwang)
- In failure messages, state whether it was the HTML or DOM rendering that failed.
- This makes it easier to debug test failures.
.to.render()
- Compare DOM rendering to the HTML before components'create()
methods are called.- This fixes an issue where the assertion was improperly failing when a component modified its DOM in
create()
.
- This fixes an issue where the assertion was improperly failing when a component modified its DOM in
- Normalize HTML before comparisons.
- This fixes an issue where
.to.render()
assertions would fail when templates used HTML entities like
.
- This fixes an issue where
- In failure messages, state whether it was the HTML or DOM rendering that failed.