(actual, expected, message)
| 146 | * @param {string} [message] |
| 147 | */ |
| 148 | export const assert_html_equal = (actual, expected, message) => { |
| 149 | try { |
| 150 | assert.deepEqual(normalize_html(window, actual), normalize_html(window, expected), message); |
| 151 | } catch (e) { |
| 152 | if (Error.captureStackTrace) |
| 153 | Error.captureStackTrace(/** @type {Error} */ (e), assert_html_equal); |
| 154 | throw e; |
| 155 | } |
| 156 | }; |
| 157 | |
| 158 | /** |
| 159 | * |
no test coverage detected