adding monkeytype
Some checks failed
Mark Stale PRs / stale (push) Has been cancelled

This commit is contained in:
Benjamin Falch
2026-04-23 13:53:44 +02:00
parent e214a2fd35
commit 2bc741fb78
1930 changed files with 7590652 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
import { describe, expect, it } from "vitest";
import { kebabToCamelCase } from "../src/strings";
describe("strings", () => {
describe("kebabToCamelCase", () => {
it("should convert kebab case to camel case", () => {
expect(kebabToCamelCase("hello-world")).toEqual("helloWorld");
expect(kebabToCamelCase("helloWorld")).toEqual("helloWorld");
expect(
kebabToCamelCase("one-two-three-four-five-six-seven-eight-nine-ten"),
).toEqual("oneTwoThreeFourFiveSixSevenEightNineTen");
});
});
});