Getbydisplayvalue React Testing Library ~upd~ Site
getByDisplayValue( value: string | RegExp, options?: exact?: boolean; trim?: boolean; collapseWhitespace?: boolean; normalizer?: (text: string) => string;
test('should render and type into input', () => const getByPlaceholderText = render(<MyInput />); const input = getByPlaceholderText('Enter text here'); getbydisplayvalue react testing library
You can test it using getByDisplayValue like this: getByDisplayValue( value: string | RegExp, options