{"size": 543, "ext": "js", "max_stars_repo_path": "app/components/SplashScreen/tests/index.test.js", "max_stars_repo_name": "rameez-wed/react-native-template", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "app/components/SplashScreen/tests/index.test.js", "max_issues_repo_name": "rameez-wed/react-native-template", "max_issues_repo_issues_event_min_datetime": "2021-05-09T02:02:31.000Z", "max_issues_repo_issues_event_max_datetime": "2021-09-03T03:23:00.000Z", "max_forks_repo_path": "app/scenes/SplashScreen/tests/index.test.js", "max_forks_repo_name": "ernitinjai/iTuneConnect", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 3, "max_forks_count": null, "avg_line_length": 25.8571428571, "max_line_length": 64, "alphanum_fraction": 0.6464088398}
/**
 *
 * Tests for SplashScreen
 *
 */
import React from 'react';
import { renderWithIntl } from 'app/utils/testUtils';
import SplashScreen from '../index';

describe('<SplashScreen />', () => {
  it('should render and match the snapshot', () => {
    const { baseElement } = renderWithIntl(<SplashScreen />);
    expect(baseElement).toMatchSnapshot();
  });

  it('should contain 1 splash screen', () => {
    const { getAllByTestId } = renderWithIntl(<SplashScreen />);
    expect(getAllByTestId('splash-screen').length).toBe(1);
  });
});
