diff --git a/src/taskworker.js b/src/taskworker.js index ebf674d66..3a5715809 100755 --- a/src/taskworker.js +++ b/src/taskworker.js @@ -31,7 +31,7 @@ const TASKS = { // indexed by task type _identity: async (arg, progressCallback) => { progressCallback(); return arg; }, _error: async (arg, progressCallback) => { progressCallback(); throw new Error(`Failed for arg: ${arg}`); }, - _crash: async (arg) => { throw new Error(`Crashing for arg: ${arg}`); }, // the test looks for this debug string in the log file + _crash: (arg) => { throw new Error(`Crashing for arg: ${arg}`); }, // the test looks for this debug string in the log file _sleep: async (arg) => setTimeout(process.exit, arg) };