import capitalizeFirstLetter from "./capitalizeFirstLetter";
describe("capitalizeFirstLetter util", function () {
  test("should return string with capitalized first letter", function () {
    var result = capitalizeFirstLetter("hello");
    expect(result).toEqual("Hello");
  });
  test("should return capitalized string with capitalized first letter only", function () {
    var result = capitalizeFirstLetter("HELLO", true);
    expect(result).toEqual("Hello");
  });
});