{"size": 337, "ext": "js", "max_stars_repo_path": "src/app.test.js", "max_stars_repo_name": "apostolidhs/iwantit", "max_stars_repo_stars_event_min_datetime": "2020-04-29T21:37:59.000Z", "max_stars_repo_stars_event_max_datetime": "2020-04-29T21:37:59.000Z", "max_issues_repo_path": "src/app.test.js", "max_issues_repo_name": "apostolidhs/iwantit", "max_issues_repo_issues_event_min_datetime": "2020-04-17T10:57:34.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-27T03:13:26.000Z", "max_forks_repo_path": "src/app.test.js", "max_forks_repo_name": "apostolidhs/iwantit", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": 20, "max_forks_count": null, "avg_line_length": 28.0833333333, "max_line_length": 69, "alphanum_fraction": 0.6765578635}
import React from 'react';
import {render, wait} from '@testing-library/react';
import App from './app';

test('renders', async () => {
  const {getAllByText, getByTestId} = render(<App />);
  expect(getByTestId('router').firstChild).toBeNull();

  await wait();
  expect(getAllByText('I Want It')).toHaveLength(2); //header, footer
});
