"use strict";

var _capitalizeFirstLetter = _interopRequireDefault(require("./capitalizeFirstLetter"));
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
describe("capitalizeFirstLetter util", function () {
  test("should return string with capitalized first letter", function () {
    var result = (0, _capitalizeFirstLetter["default"])("hello");
    expect(result).toEqual("Hello");
  });
  test("should return capitalized string with capitalized first letter only", function () {
    var result = (0, _capitalizeFirstLetter["default"])("HELLO", true);
    expect(result).toEqual("Hello");
  });
});