/**
 * Helper function that creates JSON object from the given FormData object
 * Note: this function was created only as a test helper
 * @param formData
 * @returns {{}}
 */
export function formDataToJSON(formData) {
    const obj = {};
    formData.forEach((value, key) => {
        obj[key] = value;
    });
    return obj;
}
