Function: setAfterBatchCallback() experimental
setAfterBatchCallback(
batchName,batchCallback):void
World Mutation Early Execution Beta
Parameters
batchName
string
回调将在其之后运行的测试批次名称。 Name of the batch of tests the callback will run after.
batchCallback
() => void
Returns
void
Remarks
设置一个在批次运行结束后被调用的回调函数。 这将覆盖先前为该批次设置的回调函数。 Sets a callback that is called after the batch gets called. This will overwrite previously set callbacks for this batch.
Throws
This function can throw errors.
