<commit_before>const wrapper = require('src/logic/wrapper');

describe('Wrapper', () => {
  it('test1: handles empty data', () => {
    const test1 = wrapper.render('');

    expect(test1).to.equal('');
  });

  it('test2: handles plaintext data', () => {
    const test2 = wrapper.render('test');

    expect(test2).to.equal('<p>test</p>\n');
  });

  it('test3: handles markdowndata', () => {
    const test3 = wrapper.render('# Hello World!');

    expect(test3).to.equal('<h1>Hello World!</h1>\n');
  });
});<commit_msg>rename tests for wrapper to follow assertion style<commit_after>const wrapper = require('src/logic/wrapper');

describe('Wrapper', () => {
  it('should handle null data correctly', () => {
    const test1 = wrapper.render(null);

    expect(test1).to.equal('');
  });

  it('should handle empty data correctly', () => {
    const test2 = wrapper.render('');

    expect(test2).to.equal('');
  });

  it('should handle plaintext data correctly', () => {
    const test3 = wrapper.render('test');

    expect(test3).to.equal('<p>test</p>\n');
  });

  it('should handle markdown data correctly', () => {
    const test4 = wrapper.render('# Hello World!');

    expect(test4).to.equal('<h1>Hello World!</h1>\n');
  });
});
{'fraction_non_alphanumeric': 0.21962992759452937, 'fraction_numerical': 0.016894609814963796, 'mean_word_length': 3.8784313725490196, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 20, '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': '6982170', 'n_tokens_mistral': 412, 'n_tokens_neox': 393, 'n_words': 80}