import React, { forwardRef } from 'react'
import '@testing-library/jest-dom'
import { render, screen } from '@testing-library/react'
import { AmountInput } from '../index'
describe(' customInput', () => {
it('should render with customInput', () => {
const customInput = forwardRef(
(props: React.InputHTMLAttributes, ref) => {
return
}
)
customInput.displayName = 'CustomInput'
render()
expect(screen.getByRole('textbox')).toHaveValue('1,234')
})
})