{"size": 563, "ext": "js", "max_stars_repo_path": "src/components/HowTo/HowTo.test.js", "max_stars_repo_name": "shayneofficer/awesome-learning", "max_stars_repo_stars_event_min_datetime": "2019-07-11T20:28:57.000Z", "max_stars_repo_stars_event_max_datetime": "2022-01-12T03:15:49.000Z", "max_issues_repo_path": "src/components/HowTo/HowTo.test.js", "max_issues_repo_name": "shayneofficer/awesome-learning", "max_issues_repo_issues_event_min_datetime": "2019-07-21T16:11:18.000Z", "max_issues_repo_issues_event_max_datetime": "2021-06-15T17:43:12.000Z", "max_forks_repo_path": "src/components/HowTo/HowTo.test.js", "max_forks_repo_name": "shayneofficer/awesome-learning", "max_forks_repo_forks_event_min_datetime": "2019-07-11T22:14:55.000Z", "max_forks_repo_forks_event_max_datetime": "2021-06-13T18:01:47.000Z"}
{"max_stars_count": 246, "max_issues_count": 128, "max_forks_count": 127, "avg_line_length": 37.5333333333, "max_line_length": 65, "alphanum_fraction": 0.6873889876}
import React from 'react';
import {render} from '@testing-library/react';
import HowTo from './HowTo';

describe('HowTo Component', () => {
  test('Renders all prerequisite elements of HowTo Page', () => {
    const {container, queryByText} = render(<HowTo />);
    expect(queryByText('Gathering A Group')).toBeTruthy();
    expect(queryByText('Before Your Lesson')).toBeTruthy();
    expect(queryByText('During Your Lesson')).toBeTruthy();
    expect(container.querySelectorAll('iframe')).toHaveLength(1);
    expect(queryByText('FAQs')).toBeTruthy();
  });
});
