<commit_before>var ngdeploy = require('../lib/cli.js');
var fs = require('fs');
var chai = require('chai');
chai.use(require('chai-as-promised'));
var winston = require('winston');

var test = require('./fixtures/ngdeploy.json');
var assert = chai.assert;
var sinon = require('sinon');
var helpers = require('./helpers');
var api = require('../lib/cli');
var expect = chai.expect;

function clearConfig(){
    if (fs.existsSync('.ngdeploy')) {
        fs.unlinkSync('.ngdeploy');
    }
}

describe('ngdeploy', function () {
    var sandbox;
    var mockApi;

<commit_msg>updated tests and fixed up logging<commit_after>var ngdeploy = require('../lib/cli.js');
var fs = require('fs');
var chai = require('chai');
chai.use(require('chai-as-promised'));

var test = require('./fixtures/ngdeploy.json');
var assert = chai.assert;
var sinon = require('sinon');
var helpers = require('./helpers');
var api = require('../lib/cli');
var expect = chai.expect;

function clearConfig(){
    if (fs.existsSync('.ngdeploy')) {
        fs.unlinkSync('.ngdeploy');
    }
}

describe('ngdeploy', function () {
    var sandbox;
    var mockApi;

{'fraction_non_alphanumeric': 0.19326241134751773, 'fraction_numerical': 0.0, 'mean_word_length': 4.155251141552512, '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': '2597201', 'n_tokens_mistral': 382, 'n_tokens_neox': 370, 'n_words': 86}