UNPKG

@medusajs/test-utils

Version:
9 lines 603 B
import { MedusaContainer } from "@medusajs/types"; /** * Waits for all workflow executions to finish. When relying on workflows but not necessarily * waiting for them to finish, this can be used to ensure that a test is not considered done while background executions are still running and can interfere with the other tests. * @param container - The container instance. * @returns A promise that resolves when all workflow executions have finished. */ export declare function waitWorkflowExecutions(container: MedusaContainer): Promise<void>; //# sourceMappingURL=wait-workflow-executions.d.ts.map