<commit_before>import genId from './genId';

describe('genId', () => {
  it('generates a 6 character string', () => {
    const result = genId();

    expect(result.length).toBe(6);
  });

  it('generates only alpha characters', () => {
    const result = genId();

    expect(/^[a-zA-Z]+$/.test(result)).toBeTrue;<commit_msg>fixed lint errors<commit_after>/* eslint-env jest */

import genId from './genId';

describe('genId', () => {
  it('generates a 6 character string', () => {
    const result = genId();

    expect(result.length).toBe(6);
  });

  it('generates only alpha characters', () => {
    const result = genId();

    expect(/^[a-zA-Z]+$/.test(result)).toBe(true);
{'fraction_non_alphanumeric': 0.21292217327459617, 'fraction_numerical': 0.005873715124816446, 'mean_word_length': 3.577181208053691, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '5982442', 'n_tokens_mistral': 236, 'n_tokens_neox': 220, 'n_words': 48}