* @param {*} data The worker data.
* @returns {*} The result.
*/
-module.exports = function functionToBench (data) {
+const functionToBench = (data) => {
const crypto = require('crypto')
const fs = require('fs')
const TaskTypes = {
throw new Error(`Unknown task type: ${data.taskType}`)
}
}
+
+module.exports = functionToBench