import overflow from "./overflow";
it("renders", function () {
  expect(overflow({})).toBe("");
});
it("renders overflow", function () {
  expect(overflow({
    overflow: "scroll"
  })).toBe("overflow: scroll;");
});
it("renders overflow vertical", function () {
  expect(overflow({
    overflow: {
      vertical: "scroll"
    }
  }).trim()).toBe("overflow-y: scroll;");
});
it("renders overflow horizontal", function () {
  expect(overflow({
    overflow: {
      horizontal: "scroll"
    }
  }).trim()).toBe("overflow-x: scroll;");
});
it("renders overflow both axis", function () {
  expect(overflow({
    overflow: {
      horizontal: "scroll",
      vertical: "auto"
    }
  })).toBe("\n    overflow-y: auto;\n    overflow-x: scroll;\n  ");
});