<commit_before>/* jshint node:true */
/* jshint esversion: 6 */
/* jshint -W030 */

var chai = require('chai');
var expect = chai.expect;
var jsonexport = require('../lib/index');
var os = require('os');

describe('Object', () => {
  it('simple', () => {
    jsonexport({
      lang: 'Node.js',
      module: 'jsonexport'<commit_msg>added cli test detection message<commit_after>/* jshint node:true */
/* jshint esversion: 6 */
/* jshint -W030 */

var chai = require('chai');
var expect = chai.expect;
var jsonexport = require('../lib/index');
var os = require('os');


const isRemoteTest = process.env.APPVEYOR || process.env.TRAVIS
if( isRemoteTest ){
  console.log('\x1b[34mRemote testing server detected. INFO:'+os.type()+' '+os.platform()+'\x1b[0m')
}

describe('Object', () => {
  it('simple', () => {
    jsonexport({
      lang: 'Node.js',
      module: 'jsonexport'
{'fraction_non_alphanumeric': 0.2036613272311213, 'fraction_numerical': 0.014874141876430207, 'mean_word_length': 3.7814207650273226, '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': '7171992', 'n_tokens_mistral': 330, 'n_tokens_neox': 321, 'n_words': 69}