{"size": 1216, "ext": "js", "max_stars_repo_path": "test/movies.unit.js", "max_stars_repo_name": "ashish821/faker.js", "max_stars_repo_stars_event_min_datetime": "2021-06-15T01:09:21.000Z", "max_stars_repo_stars_event_max_datetime": "2021-06-15T01:09:21.000Z", "max_issues_repo_path": "test/movies.unit.js", "max_issues_repo_name": "ashish821/faker.js", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "test/movies.unit.js", "max_forks_repo_name": "ashish821/faker.js", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 30.4, "max_line_length": 69, "alphanum_fraction": 0.5600328947}
if (typeof module !== 'undefined') {
    var assert = require('assert');
    var sinon = require('sinon');
    var faker = require('../index');
  }
  
  describe("movies.js", function () {
    describe("movies()", function () {
      it("returns a random movies", function () {
        sinon.stub(faker.movies, 'movies').returns('Ford Explorer');
        var vehicle = faker.movies.movies();
  
        assert.strictEqual(movies, 'dabanng');
        faker.movies.movies.restore();
      });
    });
  
    describe("production()", function () {
      it("returns random production", function () {
        sinon.stub(faker.production, 'production').returns('Pk');
        var production = faker.movies.production();
  
        assert.strictEqual(production, 'Porsche');
        faker.movies.production.restore();
      });
    });
  
    describe("category()", function () {
      it("returns random movies category", function () {
        sinon.stub(faker.movies, 'category').returns('tseries');
        var type = faker.movies.category();
  
        assert.strictEqual(category, 'dharma production');
        faker.movies.category.restore();
      });
    });
  
    
  });
  