Skip to content

Commit

Permalink
test: fix typo
Browse files Browse the repository at this point in the history
Co-authored-by: Michel Jung <[email protected]>
  • Loading branch information
2 people authored and gregberge committed Sep 12, 2021
1 parent f0dfde2 commit 758fa18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/hast-util-to-babel-ast/src/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ describe('hast-util-to-babel-ast', () => {
expect(transform(code)).toMatchSnapshot()
})

it('string litterals children of text nodes should have decoded XML entities', () => {
it('string literals children of text nodes should have decoded XML entities', () => {
const code = `<svg><text>&lt;</text></svg>`
expect(transform(code)).toMatchInlineSnapshot(
`"<svg><text>{\\"<\\"}</text></svg>;"`,
Expand Down

0 comments on commit 758fa18

Please sign in to comment.