(input: string | string[], delimiter?: string)
| 18 | }; |
| 19 | |
| 20 | const caseFn = (input: string | string[], delimiter?: string) => |
| 21 | (Array.isArray(input) ? input : [input]) |
| 22 | .map((segment) => segment[0].toUpperCase() + segment.slice(1)) |
| 23 | .join(delimiter); |
| 24 | |
| 25 | describe("name", () => { |
| 26 | test("should throw error when name is not a meaningful string", () => { |
nothing calls this directly
no outgoing calls
no test coverage detected