{"size": 448, "ext": "js", "max_stars_repo_path": "src/state/ask/test/reducer.test.js", "max_stars_repo_name": "mfountoulakis/rejection", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/state/ask/test/reducer.test.js", "max_issues_repo_name": "mfountoulakis/rejection", "max_issues_repo_issues_event_min_datetime": "2019-08-31T17:49:23.000Z", "max_issues_repo_issues_event_max_datetime": "2019-08-31T19:26:32.000Z", "max_forks_repo_path": "src/state/ask/test/reducer.test.js", "max_forks_repo_name": "mfountoulakis/rejection", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 2, "max_forks_count": null, "avg_line_length": 23.5789473684, "max_line_length": 63, "alphanum_fraction": 0.6495535714}
import test from "tape";
import { createState } from "../reducer-factories";
import { askReducer } from "../reducer";

test("A passing test, test", assert => {
  assert.pass("This test will pass.");
  assert.end();
});

test("init ask reducer with no arguments", ({ same, end }) => {
  const msg = "should return correct default state";

  const actual = askReducer();
  const expected = createState();

  same(actual, expected, msg);
  end();
});
