diff --git a/tests/e2e/utils/src/flows/with-rest-api.js b/tests/e2e/utils/src/flows/with-rest-api.js index 644cbdeb0f2..90b3e03d85b 100644 --- a/tests/e2e/utils/src/flows/with-rest-api.js +++ b/tests/e2e/utils/src/flows/with-rest-api.js @@ -122,7 +122,7 @@ export const withRestApi = { let zoneLocationPayload = [ { code: zoneCode, - type: zoneType + type: zoneType, } ]; @@ -130,9 +130,9 @@ export const withRestApi = { if ( zipCode ) { zoneLocationPayload.push( { code: zipCode, - type: "postcode" + type: "postcode", } ); - }; + } const locationResponse = await client.put( path + `/${zoneId}/locations`, zoneLocationPayload ); expect(locationResponse.statusCode).toEqual(200);