Page MenuHomePhabricator

Implement QUnit assert.htmlEqual test helper
Closed, ResolvedPublic

Description

Add an assertEqualHtml QUnit test helper. It will take two HTML strings and assert that they are recursively equivalent, ignoring irrelevant differences (e.g. attribute quoting and order).

If they are not equal, it will provide a structural (not HTML string) diff.


Version: 1.19
Severity: enhancement

Details

Reference
bz45526