Skip to content

Commit

Permalink
Update src/utils.test.js
Browse files Browse the repository at this point in the history
Co-authored-by: Emanuele <[email protected]>
  • Loading branch information
axlwaii and LostCrew authored Oct 17, 2023
1 parent 7d8d8fa commit 2a27995
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ describe('Utils', () => {
expect(utils.sanitizeHTML(given, allowedTags, allowedAttributes)).toBe(expected);
});

it('ignores incomplete tag', () => {
it('Ignores incomplete tag', () => {
const allowedTags = ['p', 'strong'];
const allowedAttributes = ['data-lazy'];
const given = '<p data-lazy="test">Test1</p> <adsfjgsa>with invalid tag </';
Expand Down

0 comments on commit 2a27995

Please sign in to comment.