<commit_before>'use strict';

jest.unmock('../lib/CommandLineEditor');
jest.unmock('../lib/Importer');

const childProcess = require('child_process');
const fs = require('fs');
const path = require('path');

const mkdirp = require('mkdirp');

const CommandLineEditor = require('../lib/CommandLineEditor');
const Importer = require('../lib/Importer');

describe('Importer', () => {
  beforeEach(() => {
    this.tmpDir = './tmp';
    fs.mkdirSync(this.tmpDir);

    this.word = 'foo';
    this.text = 'foo';
    this.existingFiles = [];
    this.packageJsonContent = undefined;
    this.packageDependencies = [];
    this.pathToCurrentFile = `${this.tmpDir}/test.js`;
    this.configuration = {
      lookup_paths: path.basename(this.tmpDir),<commit_msg>Start with unmocked requires in Importer-test.js<commit_after>'use strict';

jest.autoMockOff();

const childProcess = require('child_process');
const fs = require('fs');
const path = require('path');

const mkdirp = require('mkdirp');

const CommandLineEditor = require('../lib/CommandLineEditor');
const Importer = require('../lib/Importer');

describe('Importer', () => {
  beforeEach(() => {
    this.tmpDir = './tmp';
    fs.mkdirSync(this.tmpDir);

    this.word = 'foo';
    this.text = 'foo';
    this.existingFiles = [];
    this.packageJsonContent = undefined;
    this.packageDependencies = [];
    this.pathToCurrentFile = `${this.tmpDir}/test.js`;
    this.configuration = {
      lookup_paths: path.basename(this.tmpDir),
{'fraction_non_alphanumeric': 0.17876344086021506, 'fraction_numerical': 0.0, 'mean_word_length': 4.13448275862069, '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': '5364478', 'n_tokens_mistral': 471, 'n_tokens_neox': 460, 'n_words': 83}