"use strict";

var _truncate = _interopRequireDefault(require("./truncate"));
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
it("renders nothing", function () {
  expect((0, _truncate["default"])({})).toBe(undefined);
});
it("renders truncate", function () {
  expect((0, _truncate["default"])({
    truncate: true
  })).toBe("\n    white-space: nowrap;\n    text-overflow: ellipsis;\n    overflow: hidden;\n");
});