Skip to content

v0.10.28

Compare
Choose a tag to compare
@ericyhwang ericyhwang released this 21 Apr 23:46
· 492 commits to master since this release

#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().
  • Normalize HTML before comparisons.
    • This fixes an issue where .to.render() assertions would fail when templates used HTML entities like  .