Fix failing test

This commit is contained in:
Girish Ramakrishnan
2022-04-28 18:03:36 -07:00
parent e097b79f65
commit dd8f710605
+1 -1
View File
@@ -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)
};