Website for showcasing all features of Tesseract Web.
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 

19 satır
438 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. MaskedTextInput
  9. } from '.';
  10. describe('MaskedTextInput', () => {
  11. it('should render an input', () => {
  12. render(<MaskedTextInput />);
  13. const textbox: HTMLInputElement = screen.getByTestId('input');
  14. expect(textbox).toBeInTheDocument();
  15. expect(textbox.type).toBe('password');
  16. });
  17. });