Website for showcasing all features of Tesseract Web.
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 

18 rindas
360 B

  1. import * as React from 'react';
  2. import {
  3. render,
  4. screen
  5. } from '@testing-library/react';
  6. import '@testing-library/jest-dom';
  7. import {
  8. TextInput
  9. } from '.';
  10. describe('TextInput', () => {
  11. it('should render a textbox', () => {
  12. render(<TextInput />);
  13. const textbox = screen.getByRole('textbox');
  14. expect(textbox).toBeInTheDocument();
  15. });
  16. });