<commit_before>'use strict';

var assert = require('chai').assert;
var sinon = require('sinon');
var path = require('path');
var fixture = path.resolve.bind(path, __dirname, 'fixtures');

sinon.assert.expose(assert, { prefix: '' });

var Core = require('..').Application;

describe('application-core', function(){

    describe('constructor', function(){
        it('should provide a DEFAULTS object', function(){
            assert.isObject(Core.DEFAULTS);
        });
    });
});<commit_msg>Update application test<commit_after>'use strict';
const test = require('tape');

const Application = require('..').Application;
// Application.DEFAULTS.autoinitialize = false;

test('Application should expose DEFAULTS', (t) => {
    t.ok(Application.DEFAULTS, 'Application.DEFAULTS is defined');
    t.end();
});

test('Application instances extend Application.DEFAULTS', (t) =>{
    let app = new Application();

    Object.keys(Application.DEFAULTS).map((key)=>{
        t.ok(app[key] !== undefined, 'match ' + key);
    });
    t.end();
});

test('Application instances extend Application.DEFAULTS', (t) =>{
    let app = new Application();

    
    t.end();
});
{'fraction_non_alphanumeric': 0.18275862068965518, 'fraction_numerical': 0.0, 'mean_word_length': 4.092105263157895, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '4184803', 'n_tokens_mistral': 338, 'n_tokens_neox': 341, 'n_words': 79}