Fix failing test
This commit is contained in:
+1
-1
@@ -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)
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user