{"size": 372, "ext": "js", "max_stars_repo_path": "test/word_model.js", "max_stars_repo_name": "crispgm/word-kanban", "max_stars_repo_stars_event_min_datetime": "2018-01-27T05:25:39.000Z", "max_stars_repo_stars_event_max_datetime": "2018-03-07T02:14:32.000Z", "max_issues_repo_path": "test/word_model.js", "max_issues_repo_name": "crispgm/word-kanban", "max_issues_repo_issues_event_min_datetime": "2018-01-27T06:00:07.000Z", "max_issues_repo_issues_event_max_datetime": "2019-01-28T12:49:16.000Z", "max_forks_repo_path": "test/word_model.js", "max_forks_repo_name": "crispgm/word-kanban", "max_forks_repo_forks_event_min_datetime": "2019-02-01T07:00:06.000Z", "max_forks_repo_forks_event_max_datetime": "2019-02-01T07:00:06.000Z"}
{"max_stars_count": 2, "max_issues_count": 13, "max_forks_count": 2, "avg_line_length": 16.9090909091, "max_line_length": 43, "alphanum_fraction": 0.5053763441}
// Test Word Model

const models = require('../server/models');
var assert = require('assert');

describe('word model', function() {
  it('fetch words', function() {
    models.Words.findAll({
      where: {
        status: 0,
      },
      limit: 10,
    })
    .then(words => {
      assert.ok(true);
    })
    .catch(error => {
      assert.fail();
    });
  });
});
