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 758fa18 commit 7b8cc96
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 @@ -77,7 +77,7 @@ describe('hast-util-to-babel-ast', () => {
)
})

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

0 comments on commit 7b8cc96

Please sign in to comment.