noUnresolvedIssues.spec.tsx 557 B

12345678910111213
  1. import {render, screen} from 'sentry-test/reactTestingLibrary';
  2. import NoUnresolvedIssues from 'sentry/views/issueList/noGroupsHandler/noUnresolvedIssues';
  3. describe('NoUnresolvedIssues', function () {
  4. it('renders', function () {
  5. render(<NoUnresolvedIssues title="No issues" subtitle="Go make some issues!" />);
  6. expect(screen.getByText('No issues')).toBeInTheDocument();
  7. expect(screen.getByText('Go make some issues!')).toBeInTheDocument();
  8. expect(screen.getByAltText('No issues found spot illustration')).toBeInTheDocument();
  9. });
  10. });