Sha256: 87411deb89608d0c23b336e4af542f64fe67aa0c34d667077f56ad5be7b551b5
Contents?: true
Size: 533 Bytes
Versions: 8
Compression:
Stored size: 533 Bytes
Contents
/* eslint-disable no-unused-vars */ /* eslint-disable no-undef */ import { render, screen, fireEvent } from '@testing-library/react'; import { SearchButton } from '../search_button'; import '@testing-library/jest-dom/extend-expect'; describe('SEARCH BUTTON', () => { test('should be disabled on initial load', () => { render(<SearchButton />); expect(screen.getByRole('button', { name: /blast/i })).toBeInTheDocument(); expect(screen.getByRole('button', { name: /blast/i })).toBeDisabled(); }); });
Version data entries
8 entries across 8 versions & 1 rubygems