import LabelAttributeModel from "../LabelAttributeModel";
import { ATTRIBUTE_WIDTH } from "../../../constants";

describe("labelAttributeModel", () => {
  it("should be able to create an empty LabelAttribute object", () => {
    const attribute = new LabelAttributeModel();

    expect(attribute).toBeInstanceOf(LabelAttributeModel);
    expect(attribute.type).toBe("label");

    expect(attribute.readonlyWidth).toBe(ATTRIBUTE_WIDTH.MEDIUM);
  });
});
