From 8cd66e9824a97b0046dc84c640d61c7a8b2a9d76 Mon Sep 17 00:00:00 2001 From: Guillaume Date: Thu, 25 Apr 2024 11:49:58 -0400 Subject: [PATCH] chore(robot): formatting --- src/renderer/hooks/useTestImport.ts | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/src/renderer/hooks/useTestImport.ts b/src/renderer/hooks/useTestImport.ts index 75cfd9c6f..9655885ff 100644 --- a/src/renderer/hooks/useTestImport.ts +++ b/src/renderer/hooks/useTestImport.ts @@ -7,7 +7,10 @@ import { useDisplayedSequenceState, } from "./useTestSequencerState"; import { map } from "lodash"; -import { ImportTestSettings, discoverableTestTypes as DiscoverableTestTypes } from "@/renderer/routes/test_sequencer_panel/components/modals/ImportTestModal"; +import { + ImportTestSettings, + discoverableTestTypes as DiscoverableTestTypes, +} from "@/renderer/routes/test_sequencer_panel/components/modals/ImportTestModal"; import { toast } from "sonner"; import { useCallback } from "react"; import { discoverPytest, discoverRobot } from "@/renderer/lib/api"; @@ -61,10 +64,16 @@ export const useDiscoverAndImportTests = () => { response: [{ testName: path, path: path }], missingLibraries: [], error: null, - }) + }); }) - .with("pytest", async () => await discoverPytest(path, settings.importAsOneRef)) - .with("robotframework", async () => await discoverRobot(path, settings.importAsOneRef)) + .with( + "pytest", + async () => await discoverPytest(path, settings.importAsOneRef), + ) + .with( + "robotframework", + async () => await discoverRobot(path, settings.importAsOneRef), + ) .exhaustive(); if (dataResponse.isErr()) { return err(dataResponse.error);