TC.endTransaction
Ends a transaction.
TC.endTransaction(name, status);
Arguments
Name | Description |
---|---|
name | (string) Name of the transaction to end. |
status | One of the following status values: Pass, Fail, Auto |
Return value
A promise that is fulfilled with undefined upon success.
Example
(async ()=>{
await TC.endTransaction("transactionName", "Pass");
})();