import React from "react"; import { render, screen } from "@testing-library/react"; import "@testing-library/jest-dom"; import { CLASSPREFIX as eccgui } from "../../configuration/constants"; import Label from "./Label"; import { Default as LabelStory } from "./Label.stories"; const renderLabel = (props: React.ComponentProps) => { const { container } = render(