<commit_before>'use strict';

import Game from 'flockn/game';
import Base from 'flockn/base';

describe('flockn/game', function () {

  it('is a function', function () {
    expect(Game).to.be.a('function');
  });

  describe('constructor', function () {
    it('can be instantiated', function () {
      var game = new Game();

      expect(game).to.be.a('object');
      expect(game).to.be.an.instanceOf(Game);
    });

    it('inherits from Base', function() {
      var game = new Game();

      expect(game).to.be.an.instanceOf(Base);
    });

    it('new is optional', function() {
      var game = Game();

      expect(game).to.be.a('object');
      expect(game).to.be.an.instanceOf(Game);
    });
  });

});<commit_msg>Update game test<commit_after>'use strict';

import Game from 'flockn/game';
import Base from 'flockn/base';

describe('flockn/game', function () {

  it('is a function', function () {
    expect(Game).to.be.a('function');
  });

  describe('constructor', function () {
    it('can be instantiated', function () {
      var game = new Game();

      expect(game).to.be.a('object');
      expect(game).to.be.an.instanceOf(Game);
    });

    it('inherits from Base', function() {
      var game = new Game();

      expect(game).to.be.an.instanceOf(Base);
    });

    it('new is optional', function() {
      var game = Game();

      expect(game).to.be.a('object');
      expect(game).to.be.an.instanceOf(Game);
    });
  });

  describe('properties', function() {
    var game = new Game();

    it('has the correct type', function() {
      expect(game.type).to.be.a('string');
      expect(game.type).to.equal('Game');
    });
  });
});
{'fraction_non_alphanumeric': 0.19964028776978418, 'fraction_numerical': 0.0, 'mean_word_length': 2.945626477541371, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6153502', 'n_tokens_mistral': 559, 'n_tokens_neox': 538, 'n_words': 109}