style(work-orders): format status menu expectations

This commit is contained in:
Alexandre Brandizzi 2026-09-29 11:46:12 -03:00
parent b6d5ad8a1e
commit c5d0429fa2

View file

@ -73,14 +73,9 @@ describe("StatusCell closability gate", () => {
expect(offered).not.toContain("Pending"); expect(offered).not.toContain("Pending");
expect(offered).not.toContain(current); expect(offered).not.toContain(current);
expect(offered).toEqual( expect(offered).toEqual(
[ ["En Route", "On Site", "In Progress", "Completed", "Rescheduled", "Pending Quote"].filter(
"En Route", (status) => status !== current,
"On Site", ),
"In Progress",
"Completed",
"Rescheduled",
"Pending Quote",
].filter((status) => status !== current),
); );
}); });