<commit_before>var assert  = require('assert')
  , mongoose = require('mongoose')
  , Mod      = require('../')
  , DateOnly
  , MongooseDateOnly
  ;

// mongoose.set('debug', true);

describe('MongooseDateOnly - mongoose version ' + mongoose.version, function() {
  before(function() {
    DateOnly = Mod(mongoose);
    MongooseDateOnly = mongoose.Types.DateOnly;
  });

  it('has a version', function() {
    assert.equal(require('../package').version, Mod.version);
  });

  it('has a function', function() {
    assert.equal('function', typeof DateOnly);
  });<commit_msg>Nix commented code<commit_after>var assert  = require('assert')
  , mongoose = require('mongoose')
  , Mod      = require('../')
  , DateOnly
  , MongooseDateOnly
  ;

describe('MongooseDateOnly - mongoose version ' + mongoose.version, function() {
  before(function() {
    DateOnly = Mod(mongoose);
    MongooseDateOnly = mongoose.Types.DateOnly;
  });

  it('has a version', function() {
    assert.equal(require('../package').version, Mod.version);
  });

  it('has a function', function() {
    assert.equal('function', typeof DateOnly);
  });
{'fraction_non_alphanumeric': 0.17170818505338079, 'fraction_numerical': 0.0, 'mean_word_length': 3.8076923076923075, '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': '5953086', 'n_tokens_mistral': 356, 'n_tokens_neox': 364, 'n_words': 68}