Skip to content

Commit

Permalink
refactor(utils): remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
BenMaruchu committed Oct 15, 2019
1 parent 958259a commit 6ab8a9e
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions src/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,27 +33,6 @@ export const normalizeTime = time => {
return parseMs(averageTime);
};

/**
* @function
* @name normalizeObjectTimes
* @description Normalize times in a provided object (item)
*
* @param {object} item Object with times to be normalized
* @returns {object} Object with averageResolve time and averageAttend Time parse
*
* @version 0.1.0
* @since 0.2.0
*/
export const normalizeObjectTimes = item => {
const normalizeObject = {};

normalizeObject.averageResolveTime = normalizeTime(item.averageResolveTime);

normalizeObject.averageAttendTime = normalizeTime(item.averageAttendTime);

return { ...item, ...normalizeObject };
};

/**
* @function
* @name normalizeMetricTimes
Expand Down

0 comments on commit 6ab8a9e

Please sign in to comment.