(html)
| 4 | export const CHILDREN_MATCHER = sinon.match((v) => v === null || (Array.isArray(v) && !v.length), '[empty children]') |
| 5 | |
| 6 | export function normalizeHTML (html) { |
| 7 | const div = document.createElement('div') |
| 8 | div.innerHTML = html |
| 9 | return div.innerHTML |
| 10 | } |
| 11 | |
| 12 | export function getAttributes (node) { |
| 13 | const attrs = {} |
no outgoing calls
no test coverage detected