diff --git a/tests/e2e/utils/src/components.js b/tests/e2e/utils/src/components.js index 387a6cf4faf..c9df3d825a8 100644 --- a/tests/e2e/utils/src/components.js +++ b/tests/e2e/utils/src/components.js @@ -363,10 +363,10 @@ const batchCreateOrders = async (statuses) => { const path = '/wc/v3/orders/batch'; // Create an order per status - const orders = statuses.map((s) => { + const orders = statuses.map((status) => { return { ...defaultOrder, - status: s + status: status }; });