import textTransform from "./textTransform";
it("returns the default state", function () {
  expect(textTransform()).toBe("text-transform: none;");
});
it("returns text-transform: uppercase", function () {
  expect(textTransform({
    textTransform: "uppercase"
  })).toBe("text-transform: uppercase;");
});
it("returns text-transform: lowercase", function () {
  expect(textTransform({
    textTransform: "lowercase"
  })).toBe("text-transform: lowercase;");
});
it("returns text-transform: capitalize", function () {
  expect(textTransform({
    textTransform: "capitalize"
  })).toBe("text-transform: capitalize;");
});
it("returns text-transform: full-width", function () {
  expect(textTransform({
    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(textTransform({
    textTransform: "firstLetter"
  })).toBe("text-transform: lowercase;\n    &::first-letter {\n      text-transform: uppercase;\n    }\n");
});