We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 222fb40 commit edfcbd0Copy full SHA for edfcbd0
1 file changed
package/stringUtil/slugify/index.test.ts
@@ -43,4 +43,10 @@ describe("slugify", () => {
43
expect(slugify("안녕하세요 Hello World")).toBe("안녕하세요-hello-world");
44
expect(slugify("프로젝트 개발")).toBe("프로젝트-개발");
45
});
46
+
47
+ test("slug 형태의 문자열은 그대로 slug 형태로 반환한다.", () => {
48
+ const input = "Hello-World";
49
+ const output = slugify(input);
50
+ expect(output).toBe("hello-world");
51
+ });
52
0 commit comments