{"size": 548, "ext": "js", "max_stars_repo_path": "src/components/articleList/articleList.spec.js", "max_stars_repo_name": "spuk6/des", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/components/articleList/articleList.spec.js", "max_issues_repo_name": "spuk6/des", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/components/articleList/articleList.spec.js", "max_forks_repo_name": "spuk6/des", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 22.8333333333, "max_line_length": 69, "alphanum_fraction": 0.6715328467}
'use strict';
import ArticleListModule, { ArticleListComponent } from './index.js';

describe('ArticleList Component', () => {
  let ctrl;

  beforeEach(window.module(ArticleListModule));

  beforeEach(window.inject(($componentController) => {
    ctrl = $componentController(ArticleListComponent.selector, {
      $state: {}
    });
  }));

  it('should have openArticle defined', function() {
    expect(ctrl.openArticle).toBeDefined();
  });

  it('should have loadMore defined', function() {
    expect(ctrl.loadMore).toBeDefined();
  });

});
