<commit_before>'use strict';

const assert = require('assert');
const config = require('../lib/config');

describe('Config', function() {
  it('should have locale properties', function() {
    assert.ok(config.locale,      'config.locale is present');
    assert.ok(config.locale.language,   'config.locale.language is present');
    assert.ok(config.locale.direction,  'config.locale.direction is present');
  });
  it('should have URL properties', function() {
    assert.ok(config.baseUrl,       'config.baseUrl is present');
    assert.ok(config.basePath,      'config.basePath is present');
  });
  it('should have directory properties', function() {
    assert.ok(config.themeConf,     'config.themeConf is present');
    assert.ok(config.directories,   'config.directories is present');
    assert.ok(config.htdocs,        'config.htdocs is present');
    assert.ok(config.htdocs.posts,  'config.htdocs.posts is present');
    assert.ok(config.htdocs.tag,    'config.htdocs.tag is present');
    assert.ok(config.htdocs.author, 'config.htdocs.author is present');
  });
  it('should have time properties', function() {
    console.log(config);
    assert.ok(config.timeZone,      'config.timeZone is present');
  });
});<commit_msg>Small typo fixes<commit_after>'use strict';

const assert = require('assert');
const config = require('../lib/config');

describe('Config', function() {
  it('should have locale properties', function() {
    assert.ok(config.locale,      'config.locale is present');
    assert.ok(config.locale.language,   'config.locale.language is present');
    assert.ok(config.locale.direction,  'config.locale.direction is present');
  });
  it('should have URL properties', function() {
    assert.ok(config.baseUrl,       'config.baseUrl is present');
    assert.ok(config.basePath,      'config.basePath is present');
  });
  it('should have directory properties', function() {
    assert.ok(config.themeConf,     'config.themeConf is present');
    assert.ok(config.directories,   'config.directories is present');
    assert.ok(config.htdocs,        'config.htdocs is present');
    assert.ok(config.htdocs.posts,  'config.htdocs.posts is present');
    assert.ok(config.htdocs.tag,    'config.htdocs.tag is present');
    assert.ok(config.htdocs.author, 'config.htdocs.author is present');
  });
  it('should have time properties', function() {
    assert.ok(config.timeZone,      'config.timeZone is present');
  });
});
{'fraction_non_alphanumeric': 0.1563517915309446, 'fraction_numerical': 0.0, 'mean_word_length': 3.904191616766467, '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': '6223518', 'n_tokens_mistral': 725, 'n_tokens_neox': 721, 'n_words': 159}