{"size": 467, "ext": "js", "max_stars_repo_path": "src/tests/home.test.js", "max_stars_repo_name": "gabrielyea/my-stonks", "max_stars_repo_stars_event_min_datetime": "2021-09-08T20:31:43.000Z", "max_stars_repo_stars_event_max_datetime": "2021-09-11T00:34:31.000Z", "max_issues_repo_path": "src/tests/home.test.js", "max_issues_repo_name": "gabrielyea/my-stonks", "max_issues_repo_issues_event_min_datetime": "2021-09-07T23:42:17.000Z", "max_issues_repo_issues_event_max_datetime": "2021-09-11T18:28:58.000Z", "max_forks_repo_path": "src/tests/home.test.js", "max_forks_repo_name": "gabrielyea/my-stonks", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 5, "max_issues_count": 6, "max_forks_count": null, "avg_line_length": 27.4705882353, "max_line_length": 69, "alphanum_fraction": 0.6359743041}
import { render, screen } from '@testing-library/react';
import '@testing-library/jest-dom';
import { Provider } from 'react-redux';
import store from '../redux/configureStore';
import Home from '../pages/Home';

describe('Check if all components are rendered', () => {
  test('Check header', () => {
    render(
      <Provider store={store}>
        <Home />
      </Provider>,
    );
    expect(screen.getByText('Cryptocurrencies')).toBeInTheDocument();
  });
});
