{"size": 615, "ext": "js", "max_stars_repo_path": "node_modules/rimble-ui/dist/es/Loader/Loader.test.js", "max_stars_repo_name": "astarinmymind/decentralizedbounty", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "node_modules/rimble-ui/dist/es/Loader/Loader.test.js", "max_issues_repo_name": "astarinmymind/decentralizedbounty", "max_issues_repo_issues_event_min_datetime": "2021-01-11T21:40:17.000Z", "max_issues_repo_issues_event_max_datetime": "2021-01-12T13:45:16.000Z", "max_forks_repo_path": "node_modules/rimble-ui/dist/es/Loader/Loader.test.js", "max_forks_repo_name": "astarinmymind/decentralizedbounty", "max_forks_repo_forks_event_min_datetime": "2021-08-11T01:49:31.000Z", "max_forks_repo_forks_event_max_datetime": "2021-08-11T01:49:31.000Z"}
{"max_stars_count": null, "max_issues_count": 1, "max_forks_count": 1, "avg_line_length": 34.1666666667, "max_line_length": 63, "alphanum_fraction": 0.674796748}
import Loader from './';
import ThemeProvider from '../ThemeProvider';
import theme from '../theme';
describe('Loader component sanity', function () {
  it('has name', function () {
    expect(Loader.displayName).toBe('Loader');
  });
  it('matches default snapshot', function () {
    var component = render(React.createElement(Loader, null));
    expect(component).toMatchSnapshot();
  });
  it('matches themed snapshot', function () {
    var component = render(React.createElement(ThemeProvider, {
      theme: theme
    }, React.createElement(Loader, null)));
    expect(component).toMatchSnapshot();
  });
});