|
|
@@ -6,10 +6,7 @@ import documentOuterHTML from '../src' |
|
|
|
function makeDocument(html) { |
|
|
|
const window = new Window() |
|
|
|
const parser = new window.DOMParser() |
|
|
|
const doc = parser.parseFromString( |
|
|
|
html, |
|
|
|
'text/html' |
|
|
|
) |
|
|
|
const doc = parser.parseFromString(html, 'text/html') |
|
|
|
return doc |
|
|
|
} |
|
|
|
|
|
|
|