diff --git a/tests/e2e/utils/src/flows/with-rest-api.js b/tests/e2e/utils/src/flows/with-rest-api.js index 341875f08d4..78e5d9c239c 100644 --- a/tests/e2e/utils/src/flows/with-rest-api.js +++ b/tests/e2e/utils/src/flows/with-rest-api.js @@ -15,7 +15,7 @@ const userEndpoint = '/wp/v2/users'; * @param statuses Status of the object to check * @returns {Promise} */ - const deleteAllRepositoryObjects = async ( repository, defaultObjectId = null, statuses = [ 'draft', 'publish', 'trash' ] ) => { +const deleteAllRepositoryObjects = async ( repository, defaultObjectId = null, statuses = [ 'draft', 'publish', 'trash' ] ) => { let objects; const minimum = defaultObjectId == null ? 0 : 1;