Skip to content

Commit c68f5f4

Browse files
committed
Formatting
1 parent be571ab commit c68f5f4

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

packages/test/src/test-local-activities.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,10 @@ export const interceptors: workflow.WorkflowInterceptorsFactory = () => {
625625
};
626626
};
627627

628-
export async function getRetryPolicyFromActivityInfo(retryPolicy: RetryPolicy, fromInsideLocal: boolean): Promise<object | undefined> {
628+
export async function getRetryPolicyFromActivityInfo(
629+
retryPolicy: RetryPolicy,
630+
fromInsideLocal: boolean
631+
): Promise<object | undefined> {
629632
return await (fromInsideLocal
630633
? workflow.proxyLocalActivities({ startToCloseTimeout: '1m', retry: retryPolicy }).retryPolicy()
631634
: workflow.proxyActivities({ startToCloseTimeout: '1m', retry: retryPolicy }).retryPolicy());
@@ -646,7 +649,7 @@ test.serial('retryPolicy is set correctly', async (t) => {
646649
initialInterval: 2.0,
647650
maximumAttempts: 3,
648651
maximumInterval: 10.0,
649-
nonRetryableErrorTypes: ["nonRetryableError"],
652+
nonRetryableErrorTypes: ['nonRetryableError'],
650653
};
651654

652655
await worker.runUntil(async () => {

0 commit comments

Comments
 (0)