import "../../src/modules/string"; describe("Capitalize", () => { { const name = "test"; test(name, () => { expect(name.capitalize()).toBe("Test"); }); } { const name = "MACHIN"; test(name, () => { expect(name.capitalize()).toBe("MACHIN"); }); } { const name = "tRUC"; test(name, () => { expect(name.capitalize()).toBe("TRUC"); }); } { const name = "Super"; test(name, () => { expect(name.capitalize()).toBe("Super"); }); } });