diff --git a/opentrons-ai-client/src/organisms/ProtocolSectionsContainer/__tests__/ApplicationSection.test.tsx b/opentrons-ai-client/src/organisms/ProtocolSectionsContainer/__tests__/ApplicationSection.test.tsx index 34c2bb66518..eac7e96a221 100644 --- a/opentrons-ai-client/src/organisms/ProtocolSectionsContainer/__tests__/ApplicationSection.test.tsx +++ b/opentrons-ai-client/src/organisms/ProtocolSectionsContainer/__tests__/ApplicationSection.test.tsx @@ -5,7 +5,7 @@ import { i18n } from '../../../i18n' import { ProtocolSectionsContainer } from '..' import { FormProvider, useForm } from 'react-hook-form' import { Provider } from 'jotai' -import { fillApplicationSectionAndClickConfirm } from '../../../resources/utils/__tests__/createProtocolTestUtils.test' +import { fillApplicationSectionAndClickConfirm } from '../../../resources/utils/createProtocolTestUtils' const TestFormProviderComponent = () => { const methods = useForm({ diff --git a/opentrons-ai-client/src/pages/CreateProtocol/__tests__/CreateProtocol.test.tsx b/opentrons-ai-client/src/pages/CreateProtocol/__tests__/CreateProtocol.test.tsx index bb336655339..871bab07a7b 100644 --- a/opentrons-ai-client/src/pages/CreateProtocol/__tests__/CreateProtocol.test.tsx +++ b/opentrons-ai-client/src/pages/CreateProtocol/__tests__/CreateProtocol.test.tsx @@ -4,7 +4,7 @@ import { renderWithProviders } from '../../../__testing-utils__' import { i18n } from '../../../i18n' import { CreateProtocol } from '..' import { Provider } from 'jotai' -import { fillApplicationSectionAndClickConfirm } from '../../../resources/utils/__tests__/createProtocolTestUtils.test' +import { fillApplicationSectionAndClickConfirm } from '../../../resources/utils/createProtocolTestUtils' const render = (): ReturnType => { return renderWithProviders( diff --git a/opentrons-ai-client/src/resources/utils/__tests__/createProtocolTestUtils.test.tsx b/opentrons-ai-client/src/resources/utils/createProtocolTestUtils.tsx similarity index 88% rename from opentrons-ai-client/src/resources/utils/__tests__/createProtocolTestUtils.test.tsx rename to opentrons-ai-client/src/resources/utils/createProtocolTestUtils.tsx index 10357bd9950..8a24224394e 100644 --- a/opentrons-ai-client/src/resources/utils/__tests__/createProtocolTestUtils.test.tsx +++ b/opentrons-ai-client/src/resources/utils/createProtocolTestUtils.tsx @@ -1,7 +1,7 @@ import { fireEvent, screen, waitFor } from '@testing-library/react' import { expect } from 'vitest' -export async function fillApplicationSectionAndClickConfirm() { +export async function fillApplicationSectionAndClickConfirm(): Promise { const applicationDropdown = screen.getByText('Select an option') fireEvent.click(applicationDropdown)