Skip to content

Commit 3f85527

Browse files
ratbeardgnapse
authored andcommitted
fix: display html in toContainHTML failure output #98 (#100)
1 parent 1b2beb9 commit 3f85527

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/to-contain-html.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export function toContainHTML(container, htmlText) {
1111
matcherHint(`${this.isNot ? '.not' : ''}.toContainHTML`, 'element', ''),
1212
'',
1313
'Received:',
14-
` ${printReceived(container.cloneNode(false))}`,
14+
` ${printReceived(container.cloneNode(true))}`,
1515
].join('\n')
1616
},
1717
}

0 commit comments

Comments
 (0)