{"size": 360, "ext": "js", "max_stars_repo_path": "src/search-results/search-results.reducer.test.js", "max_stars_repo_name": "mistakenot/react-kata", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/search-results/search-results.reducer.test.js", "max_issues_repo_name": "mistakenot/react-kata", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/search-results/search-results.reducer.test.js", "max_forks_repo_name": "mistakenot/react-kata", "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": 30.0, "max_line_length": 65, "alphanum_fraction": 0.6694444444}
import reducer from './search-results.reducer';
import { loadSearchResultItems } from './search-results.actions';

describe('Search results reducer', () => {
  it('can load result items', () => {
    const items = [1];
    const action = loadSearchResultItems(items);
    const actual = reducer(undefined, action);

    expect(actual).toEqual(items);
  });
});