Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

fix: add MENU_ITEM_SHORTCUTS to PaymentForm test mock

aashu596d57ceb122
diff --git a/apps/erp/app/modules/invoicing/ui/Payment/PaymentForm.test.tsx b/apps/erp/app/modules/invoicing/ui/Payment/PaymentForm.test.tsx
index 10fd162975..ec7bc87eca 100644
--- a/apps/erp/app/modules/invoicing/ui/Payment/PaymentForm.test.tsx
+++ b/apps/erp/app/modules/invoicing/ui/Payment/PaymentForm.test.tsx
@@ -54,6 +54,7 @@ vi.mock("@carbon/react", () => {
CardTitle: Box,
DropdownMenuIcon: Box,
DropdownMenuItem: Box,
+ MENU_ITEM_SHORTCUTS: { delete: "backspace" },
Status: Box,
VStack: Box,
useDisclosure: () => ({ isOpen: false }),