diff --git a/src/components/atoms/Input.tsx b/src/components/atoms/Input.tsx index 789af894..0a21d758 100644 --- a/src/components/atoms/Input.tsx +++ b/src/components/atoms/Input.tsx @@ -1,6 +1,11 @@ import React, { ReactElement } from 'react' import { input } from './Input.module.css' -export default function Input({ className, ...props }: any): ReactElement { +export default function Input({ + className, + ...props +}: { + className: string +}): ReactElement { return } diff --git a/src/components/molecules/Web3Donation/Conversion.test.tsx b/src/components/molecules/Web3Donation/Conversion.test.tsx index 981930df..64d92a33 100644 --- a/src/components/molecules/Web3Donation/Conversion.test.tsx +++ b/src/components/molecules/Web3Donation/Conversion.test.tsx @@ -5,7 +5,7 @@ import Conversion from './Conversion' describe('Conversion', () => { it('renders without crashing', async () => { - const { findByText } = render() + render() // const lazyElement = await findByText(/= €/) // expect(lazyElement).toBeInTheDocument() }) diff --git a/src/components/molecules/Web3Donation/InputGroup.test.tsx b/src/components/molecules/Web3Donation/InputGroup.test.tsx index 95c13dac..ed6d4448 100644 --- a/src/components/molecules/Web3Donation/InputGroup.test.tsx +++ b/src/components/molecules/Web3Donation/InputGroup.test.tsx @@ -13,7 +13,7 @@ describe('InputGroup', () => { expect(container.firstChild).toBeInTheDocument() const input = container.querySelector('input') - const button = container.querySelector('button') + // const button = container.querySelector('button') fireEvent.change(input, { target: { value: '3' } }) // fireEvent.click(button) // expect(sendTransaction).toHaveBeenCalled()