"use strict";

var _textDecoration = _interopRequireDefault(require("./textDecoration"));
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
it("renders nothing", function () {
  expect((0, _textDecoration["default"])({})).toBe(false);
});
it("decorates with underline", function () {
  expect((0, _textDecoration["default"])({
    textDecoration: "underline"
  })).toBe("text-decoration: underline;");
});
it("decorates with none", function () {
  expect((0, _textDecoration["default"])({
    textDecoration: "none"
  })).toBe("text-decoration: none;");
});
it("decorates with line-through", function () {
  expect((0, _textDecoration["default"])({
    textDecoration: "line-through"
  })).toBe("text-decoration: line-through;");
});
it("doesnt decorate on invalid value", function () {
  expect((0, _textDecoration["default"])({
    textDecoration: "funny-decoration"
  })).toBe(false);
});