import { fireEvent, render, screen } from "@testing-library/react"; import { describe, it, expect, vi } from "vitest"; import { PosPromoPanel } from "./PosPromoPanel"; import type { MemberCheckoutPreviewResult } from "@/app/lib/types"; // add-promotions-campaigns PR 2: the operator enters a code for the customer and sees what the cart // is discounted by. The panel sits inside the POS sale