Skip to content

Commit

Permalink
Ensure Czech accents are supported by adding a test for them (fix #14)
Browse files Browse the repository at this point in the history
  • Loading branch information
martpie committed Apr 28, 2024
1 parent a84efe1 commit 6663953
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/__tests__/slugify.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,10 @@ describe("slugify", () => {
expect(
slugify("đây là một thử nghiệm đối với việc xóa các âm tiết tiếng việt")
).toBe("day-la-mot-thu-nghiem-doi-voi-viec-xoa-cac-am-tiet-tieng-viet");

expect(
slugify("ĚěŘřŮů")
).toBe("eerruu");
});

it("should remove multiple following delimiters", () => {
Expand Down

0 comments on commit 6663953

Please sign in to comment.