{"size": 1448, "ext": "js", "max_stars_repo_path": "spec/fizz-buzz-spec.js", "max_stars_repo_name": "craftword/bootcamp-selfmedical-clinic", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "spec/fizz-buzz-spec.js", "max_issues_repo_name": "craftword/bootcamp-selfmedical-clinic", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "spec/fizz-buzz-spec.js", "max_forks_repo_name": "craftword/bootcamp-selfmedical-clinic", "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": 27.8461538462, "max_line_length": 84, "alphanum_fraction": 0.6270718232}
// JavaScript Document
var jasmine = require("jasmine")
var app = require("../fizz-buzz-lab/fizz-buzz-lab.js");


describe("Fizz Buzz tests ", function() {

  it("should return `Fizz` for number divisible by 3", function() {
    expect(app.fizzBuzz(3)).toBe('Fizz');
  });

  it("should return `Buzz` for number divisible by 5", function() {
    expect(app.fizzBuzz(5)).toBe('Buzz');
  });

  it("should return `FizzBuzz` for 15", function() {
    expect(app.fizzBuzz(15)).toBe('FizzBuzz');
  });

  it("should return `FizzBuzz` for 45", function() {
    expect(app.fizzBuzz(45)).toBe('FizzBuzz');
  });

  it("should return `FizzBuzz` for 90", function() {
    expect(app.fizzBuzz(90)).toBe('FizzBuzz');
  });

  it("should return `Fizz` for 42", function() {
    expect(app.fizzBuzz(42)).toBe('Fizz');
  });

  it("should return 17 since its indivisible by 3 and 5", function() {
    expect(app.fizzBuzz(17)).toBe(17);
  });

  it("should return 101 since its indivisible by 3 and 5", function() {
    expect(app.fizzBuzz(101)).toBe(101);
  });

});
describe("Return invalid argument when a non-integer argument is pass", function() {

      it("should return `Invalid Argument` for 'string'", function() {
        expect(app.fizzBuzz('string')).toEqual('Invalid Argument');
      });

      it("should return `Invalid Argument` for float 5.2", function() {
        expect(app.fizzBuzz(5.2)).toEqual('Invalid Argument');
      });

      
    });