Skip to content

Commit

Permalink
fix: display html in toContainHTML failure output #98 (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
ratbeard authored and gnapse committed Apr 30, 2019
1 parent 1b2beb9 commit 3f85527
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/to-contain-html.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export function toContainHTML(container, htmlText) {
matcherHint(`${this.isNot ? '.not' : ''}.toContainHTML`, 'element', ''),
'',
'Received:',
` ${printReceived(container.cloneNode(false))}`,
` ${printReceived(container.cloneNode(true))}`,
].join('\n')
},
}
Expand Down

0 comments on commit 3f85527

Please sign in to comment.