import truncate from "./truncate";
it("renders nothing", function () {
expect(truncate({})).toBe(undefined);
});
it("renders truncate", function () {
expect(truncate({
truncate: true
})).toBe("\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n");
});