@temporalio/testing
Version:
Temporal.io SDK Testing sub-package
8 lines (7 loc) • 299 B
TypeScript
import { WorkflowInterceptors } from '@temporalio/workflow';
/**
* Simple interceptor that transforms {@link assert.AssertionError} into non retryable failures.
*
* This allows conveniently using `assert` directly from Workflows.
*/
export declare function interceptors(): WorkflowInterceptors;