Skip to content

Commit 7b03606

Browse files
committed
fix: correct emoji removal in slug generation test
1 parent 7c81223 commit 7b03606

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/unit/render-util.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ describe('core/render/slugify', () => {
179179
expect(nestedHtmlStrippedSlug).toBe('another-broken-example');
180180

181181
const emojiRemovedSlug = slugify('emoji test ⚠️🔥✅');
182-
expect(emojiRemovedSlug).toBe('emoji-test-');
182+
expect(emojiRemovedSlug).toBe('emoji-test-');
183183

184184
const multiSpaceSlug = slugify('Title with multiple spaces');
185185
expect(multiSpaceSlug).toBe('title----with---multiple-spaces');

0 commit comments

Comments
 (0)