<commit_before>const {createRunner} = require('atom-mocha-test-runner')
const path = require('path')
const fs = require('fs-extra')
global.assert = require('chai').assert

module.exports = createRunner(
  {
    globalAtom: false,
    htmlTitle: `Narrow Package Tests - pid ${process.pid}`
    // onCreated: () => {
    //   // console.log('CREATED!!!')
    //   // workspaceElement = atom.views.getView(atom.workspace)
    //   // document.body.appendChild(workspaceElement)
    //   // document.body.focus()
    // }
  },
  mocha => {
    global.atom = global.buildAtomEnvironment({
      enablePersistence: false
    })
    // mocha.ui('tdd')
    // atom.applicationDelegate.setRepresentedFilename = () => {}
    // atom.applicationDelegate.setWindowDocumentEdited = () => {}

    let packageName = require('../package.json').name
    const packageDir = path.join(atom.configDirPath, 'packages')
    fs.ensureSymlinkSync(path.dirname(__dirname), path.join(packageDir, packageName))
  }
)<commit_msg>:fire: comment<commit_after>const {createRunner} = require('atom-mocha-test-runner')
const path = require('path')
const fs = require('fs-extra')
global.assert = require('chai').assert

module.exports = createRunner(
  {
    globalAtom: false,
    htmlTitle: `Narrow Package Tests - pid ${process.pid}`
  },
  mocha => {
    global.atom = global.buildAtomEnvironment({
      enablePersistence: false
    })
    let packageName = require('../package.json').name
    const packageDir = path.join(atom.configDirPath, 'packages')
    fs.ensureSymlinkSync(path.dirname(__dirname), path.join(packageDir, packageName))
  }
)
{'fraction_non_alphanumeric': 0.15955473098330242, 'fraction_numerical': 0.0, 'mean_word_length': 3.6096866096866096, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 8, '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': '2076526', 'n_tokens_mistral': 495, 'n_tokens_neox': 491, 'n_words': 82}