"use strict";

var _overflow = _interopRequireDefault(require("./overflow"));
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
it("renders", function () {
  expect((0, _overflow["default"])({})).toBe("");
});
it("renders overflow", function () {
  expect((0, _overflow["default"])({
    overflow: "scroll"
  })).toBe("overflow: scroll;");
});
it("renders overflow vertical", function () {
  expect((0, _overflow["default"])({
    overflow: {
      vertical: "scroll"
    }
  }).trim()).toBe("overflow-y: scroll;");
});
it("renders overflow horizontal", function () {
  expect((0, _overflow["default"])({
    overflow: {
      horizontal: "scroll"
    }
  }).trim()).toBe("overflow-x: scroll;");
});
it("renders overflow both axis", function () {
  expect((0, _overflow["default"])({
    overflow: {
      horizontal: "scroll",
      vertical: "auto"
    }
  })).toBe("\n    overflow-y: auto;\n    overflow-x: scroll;\n  ");
});