import { ApyIndicator } from "./ApyIndicator";
import { expect, within } from "@storybook/test";
const meta = {
    component: ApyIndicator,
    title: "PreLdls/Components/ApyIndicator",
    tags: ["autodocs"],
    args: { value: 30, type: "APY" },
};
export default meta;
export const APY = { args: { value: 30, type: "APY" } };
export const APR = { args: { value: 30, type: "APR" } };
export const NRR = { args: { value: 30, type: "NRR" } };
export const TestApyIndicator = {
    play: async ({ canvasElement }) => {
        const canvas = within(canvasElement);
        const input = canvas.getByTestId("tag");
        await expect(input).toHaveTextContent("~ 30% APY");
    },
};
//# sourceMappingURL=ApyIndicator.stories.js.map