"use strict";

var _textTransform = _interopRequireDefault(require("./textTransform"));
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
it("returns the default state", function () {
  expect((0, _textTransform["default"])()).toBe("text-transform: none;");
});
it("returns text-transform: uppercase", function () {
  expect((0, _textTransform["default"])({
    textTransform: "uppercase"
  })).toBe("text-transform: uppercase;");
});
it("returns text-transform: lowercase", function () {
  expect((0, _textTransform["default"])({
    textTransform: "lowercase"
  })).toBe("text-transform: lowercase;");
});
it("returns text-transform: capitalize", function () {
  expect((0, _textTransform["default"])({
    textTransform: "capitalize"
  })).toBe("text-transform: capitalize;");
});
it("returns text-transform: full-width", function () {
  expect((0, _textTransform["default"])({
    textTransform: "fullWidth"
  })).toBe("text-transform: full-width;");
});
it("returns text-transform rule with lowercase value and then it transforms only the first letter of the text to uppercase", function () {
  expect((0, _textTransform["default"])({
    textTransform: "firstLetter"
  })).toBe("text-transform: lowercase;\n    &::first-letter {\n      text-transform: uppercase;\n    }\n");
});