diff --git a/protocol-designer/src/pages/CreateNewProtocolWizard/WizardBody.tsx b/protocol-designer/src/pages/CreateNewProtocolWizard/WizardBody.tsx index 7772e4e79b9..cb024ce1011 100644 --- a/protocol-designer/src/pages/CreateNewProtocolWizard/WizardBody.tsx +++ b/protocol-designer/src/pages/CreateNewProtocolWizard/WizardBody.tsx @@ -64,15 +64,13 @@ export function WizardBody(props: WizardBodyProps): JSX.Element { }) const [isBuffering, setIsBuffering] = useState(false) - const handleBuffer = () => { + const handleBuffer = (): void => { setIsBuffering(true) - console.log('Buffering...') } - const handlePlay = () => { + const handlePlay = (): void => { if (isBuffering) { setIsBuffering(false) - console.log('Buffering ended.') } } diff --git a/protocol-designer/src/pages/CreateNewProtocolWizard/__tests__/WizardBody.test.tsx b/protocol-designer/src/pages/CreateNewProtocolWizard/__tests__/WizardBody.test.tsx index 38e33483e2f..db9421ae40a 100644 --- a/protocol-designer/src/pages/CreateNewProtocolWizard/__tests__/WizardBody.test.tsx +++ b/protocol-designer/src/pages/CreateNewProtocolWizard/__tests__/WizardBody.test.tsx @@ -36,6 +36,5 @@ describe('WizardBody', () => { expect(props.proceed).toHaveBeenCalled() fireEvent.click(screen.getByRole('button', { name: 'Go back' })) expect(props.goBack).toHaveBeenCalled() - screen.getByLabelText('onboarding animation for page 1') }) })