Skip to content

Commit

Permalink
style: Format code
Browse files Browse the repository at this point in the history
  • Loading branch information
karfau committed Feb 28, 2022
1 parent 0b032bb commit 8626514
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions test/html/normalize.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@ describe('html normalizer', () => {

const actual = parser.parseFromString(xml, 'application/xml')

expect(actual.documentElement.firstChild.textContent).toBe('let message = " & ETH";');
expect(actual.documentElement.firstChild.textContent).toBe(
'let message = " & ETH";'
)
})
it.each([
`<html xmlns="http://www.w3.org/1999/xhtml"><script>let message = " &amp; ETH";</script></html>`,
Expand All @@ -71,7 +73,9 @@ describe('html normalizer', () => {

const actual = parser.parseFromString(xml, 'text/html')

expect(actual.documentElement.firstChild.textContent).toBe('let message = " &amp; ETH";');
expect(actual.documentElement.firstChild.textContent).toBe(
'let message = " &amp; ETH";'
)
})

it('European entities', () => {
Expand Down

0 comments on commit 8626514

Please sign in to comment.