<commit_before>/* global describe, it */

import assert from 'assert'
import index from '../../src'

describe('Status', () => {
  it('is a class', done => {
    const status = new index.Status()

    assert.strictEqual(typeof index.Status, 'function')
    assert.strictEqual(status.constructor, index.Status)

    done()
  })

  const params = ['standard', '5.0.0', 'generator-npm']
  const getters = ['module', 'version', 'repo']

  params.forEach((param, i)=> {
    let getter = getters[i]

    describe(`#${getter}()`, () => {
      it(`gets the ${getter} value`, done => {
        let status = new index.Status(...params)

        assert.strictEqual(status[getter], param)

        done()
      })
    })
  })
})
<commit_msg>Fix lint error<commit_after>/* global describe, it */

import assert from 'assert'
import index from '../../src'

describe('Status', () => {
  it('is a class', done => {
    const status = new index.Status()

    assert.strictEqual(typeof index.Status, 'function')
    assert.strictEqual(status.constructor, index.Status)

    done()
  })

  const params = ['standard', '5.0.0', 'generator-npm']
  const getters = ['module', 'version', 'repo']

  params.forEach((param, i) => {
    let getter = getters[i]

    describe(`#${getter}()`, () => {
      it(`gets the ${getter} value`, done => {
        let status = new index.Status(...params)

        assert.strictEqual(status[getter], param)

        done()
      })
    })
  })
})

{'fraction_non_alphanumeric': 0.19041095890410958, 'fraction_numerical': 0.00410958904109589, 'mean_word_length': 2.906417112299465, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, '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': '723091', 'n_tokens_mistral': 474, 'n_tokens_neox': 457, 'n_words': 112}