<commit_before>import Blogium from '../src/blogium.js';
import fetchMock from 'fetch-mock';

describe('Blogium', () => {
  let blog;

  const wrapperLinks = (href, target) => {
    for(let i = 0; i < 10; i++) {
      let element = document.createElement('a');
      element.href = href;
      element.setAttribute('target', target);
      global.wrapper.appendChild(element);
    }
  }


  beforeEach(() => {
    fetchMock.get('*', { "hello": "world"});

    global.wrapper = document.createElement('div');
    global.wrapper.setAttribute('class', 'mediumWrap');
<commit_msg>(refactor): use const instead of let<commit_after>import Blogium from '../src/blogium.js';
import fetchMock from 'fetch-mock';

describe('Blogium', () => {
  let blog;

  const wrapperLinks = (href, target) => {
    for(let i = 0; i < 10; i++) {
      const element = document.createElement('a');
      element.href = href;
      element.setAttribute('target', target);
      global.wrapper.appendChild(element);
    }
  }


  beforeEach(() => {
    fetchMock.get('*', { "hello": "world"});

    global.wrapper = document.createElement('div');
    global.wrapper.setAttribute('class', 'mediumWrap');

{'fraction_non_alphanumeric': 0.17957446808510638, 'fraction_numerical': 0.005106382978723404, 'mean_word_length': 3.523076923076923, 'pattern_counts': {'":': 2, '<': 5, '<?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': '3661418', 'n_tokens_mistral': 366, 'n_tokens_neox': 349, 'n_words': 79}