diff --git a/__tests__/create-survey/page.spec.tsx b/__tests__/create-survey/page.spec.tsx deleted file mode 100644 index dca4206..0000000 --- a/__tests__/create-survey/page.spec.tsx +++ /dev/null @@ -1,14 +0,0 @@ -import { render, screen } from '@testing-library/react' -import CreateSurvey from '@/app/create-survey/page'; - -describe('Home', () => { - it('should renders a survey name input element', async () => { - render() - - const surveyNameInput = await screen.findByTestId("survey-name-input") as HTMLInputElement; - - expect(surveyNameInput).toBeInTheDocument() - expect(surveyNameInput).toHaveAttribute('type', 'text') - expect(surveyNameInput.value).toBe('Survey App') - }); -}); diff --git a/app/create-survey/components/SingleChoice/index.tsx b/app/create-survey/components/SingleChoice/index.tsx index aff4181..0db4c06 100644 --- a/app/create-survey/components/SingleChoice/index.tsx +++ b/app/create-survey/components/SingleChoice/index.tsx @@ -37,7 +37,6 @@ const SingleChoice = ({ choices, setChoices, setAnswer }: SingleChoiceProps) =>