Skip to content

Commit 31d0219

Browse files
committed
test/lint fixes
1 parent 6bd0098 commit 31d0219

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/test/src/test-integration-workflows.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -1347,7 +1347,7 @@ export async function ChildWorkflowInfo(): Promise<workflow.RootWorkflowInfo | u
13471347
return workflow.workflowInfo().root;
13481348
}
13491349

1350-
export async function WithChildWorkflow(childWfId: string) {
1350+
export async function WithChildWorkflow(childWfId: string): Promise<workflow.RootWorkflowInfo | undefined> {
13511351
return await workflow.executeChild(ChildWorkflowInfo, {
13521352
workflowId: childWfId,
13531353
});
@@ -1380,12 +1380,12 @@ test('root execution is exposed', async (t) => {
13801380
const childDesc = await childHandle.describe();
13811381
const parentDesc = await handle.describe();
13821382

1383-
t.true(childDesc.rootExecution?.workflowId == parentDesc.workflowId);
1384-
t.true(childDesc.rootExecution?.runId == parentDesc.runId);
1383+
t.true(childDesc.rootExecution?.workflowId === parentDesc.workflowId);
1384+
t.true(childDesc.rootExecution?.runId === parentDesc.runId);
13851385

13861386
await childHandle.signal(unblockSignal);
13871387
const childWfInfoRoot = await handle.result();
1388-
t.true(childWfInfoRoot?.workflowId == parentDesc.workflowId);
1389-
t.true(childWfInfoRoot?.runId == parentDesc.runId);
1388+
t.true(childWfInfoRoot?.workflowId === parentDesc.workflowId);
1389+
t.true(childWfInfoRoot?.runId === parentDesc.runId);
13901390
});
13911391
});

0 commit comments

Comments
 (0)