<commit_before>'use strict';

const exeq = require('exeq');
const child_process = require('child_process');
const expect = require('expect.js');

describe('git-br', () => {
  before(done => {
    exeq([
      'git checkout -b test-with-description',
      'git checkout -b test-without-description',
      'git config branch.test-with-description.description "description text"',
      'git checkout -b test-delete-branch',
      'git checkout master', // Switch to master branch for test delete branch.
    ]).then(() => done());
  });

  after(done => {
    exeq([
      'git branch -D test-with-description',
      'git branch -D test-without-description',
    ]).then(() => done());
  });
<commit_msg>switching to master before each test<commit_after>'use strict';

const exeq = require('exeq');
const child_process = require('child_process');
const expect = require('expect.js');

describe('git-br', () => {
  beforeEach(done => {
    exeq(['git checkout master']).then(done).catch(console.error);
  });

  before(done => {
    exeq([
      'git checkout -b test-with-description',
      'git checkout -b test-without-description',
      'git config branch.test-with-description.description "description text"',
      'git checkout -b test-delete-branch',
      'git checkout master', // Switch to master branch for test delete branch.
    ]).then(() => done());
  });

  after(done => {
    exeq([
      'git branch -D test-with-description',
      'git branch -D test-without-description',
    ]).then(() => done());
  });

{'fraction_non_alphanumeric': 0.17320261437908496, 'fraction_numerical': 0.0, 'mean_word_length': 3.288515406162465, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 14, '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': '1636486', 'n_tokens_mistral': 462, 'n_tokens_neox': 443, 'n_words': 121}