mirror of
https://github.com/toss/es-toolkit.git
synced 2024-11-28 12:05:41 +03:00
test(camelCase): Correct it should describes (#356)
This commit is contained in:
parent
9c0f7b8210
commit
91f680a060
@ -6,11 +6,11 @@ describe("camelCase", () => {
|
||||
expect(camelCase("camelCase")).toEqual("camelCase");
|
||||
});
|
||||
|
||||
it("should change space to underscore", async () => {
|
||||
it("should change space to camel case", async () => {
|
||||
expect(camelCase("some whitespace")).toEqual("someWhitespace");
|
||||
});
|
||||
|
||||
it("should change hyphen to underscore", async () => {
|
||||
it("should change hyphen to camel case", async () => {
|
||||
expect(camelCase("hyphen-text")).toEqual("hyphenText");
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user