Skip to content

Commit

Permalink
fix: fix typo in tests (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanChadly authored Sep 26, 2023
1 parent 19ed2ff commit 0f030ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Highlighter.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ describe('Highlighter', () => {
expect(matches[0].tagName).to.equal('A')
})

it('should support stateless functional components via :highlightTag', () => {
it('should support stateless functional components via :unhighlightTag', () => {
const UnHighlightTag = ({ highlightIndex, ...rest }) => (
<a {...rest} />
)
Expand Down

0 comments on commit 0f030ab

Please sign in to comment.