Skip to content

Commit 76bc662

Browse files
[autofix.ci] apply automated fixes
1 parent ae867c5 commit 76bc662

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

src/frontend/src/components/core/flowBuilderWelcome/hooks/__tests__/use-apply-template-to-current-flow.test.tsx

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,12 @@ let flowStoreState: Record<string, unknown>;
1818
jest.mock("@/stores/flowStore", () => ({
1919
__esModule: true,
2020
default: jest.fn((selector?: (state: unknown) => unknown) => {
21-
const state = { setNodes, setEdges, setCurrentFlow, currentFlow: flowStoreState.currentFlow };
21+
const state = {
22+
setNodes,
23+
setEdges,
24+
setCurrentFlow,
25+
currentFlow: flowStoreState.currentFlow,
26+
};
2227
return selector ? selector(state) : state;
2328
}),
2429
}));
@@ -103,7 +108,8 @@ describe("useApplyTemplateToCurrentFlow", () => {
103108
collaborationOperationMode: false,
104109
onCollaborationOperations,
105110
};
106-
setStores(fullExamples); });
111+
setStores(fullExamples);
112+
});
107113

108114
it("should_call_setNodes_and_setEdges_with_template_data_when_template_is_applied", () => {
109115
const { result } = renderHook(() => useApplyTemplateToCurrentFlow());

0 commit comments

Comments
 (0)