{"size": 224, "ext": "js", "max_stars_repo_path": "algorithms/fibonacci/fibonacci.test.js", "max_stars_repo_name": "Chaeduk/Algorithm", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "algorithms/fibonacci/fibonacci.test.js", "max_issues_repo_name": "Chaeduk/Algorithm", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "algorithms/fibonacci/fibonacci.test.js", "max_forks_repo_name": "Chaeduk/Algorithm", "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": 24.8888888889, "max_line_length": 70, "alphanum_fraction": 0.5669642857}
import fibonacci from "./fibonacci";

describe("fibonacci", () => {
  it("calculate fibonacci", () => {
    expect(fibonacci(1)).toEqual([1]);
    expect(fibonacci(10)).toEqual([1, 1, 2, 3, 5, 8, 13, 21, 34, 55]);
  });
});
