<commit_before>const chai = require('chai');
const AnimeService = require('../lib/services/AnimeService');
chai.should()

describe('AnimeService', function () {
  describe('#mapToTimes', function () {
    it('should map anime entries to their times', function () {
      let animes = [
        { progress: 10, anime: { episodeLength: 24 } },
        { progress: 10, anime: { episodeLength: 24 } },
        { progress: 10, anime: { episodeLength: 24 } },
        { progress: 10, anime: { episodeLength: 24 } },
        { progress: 10, anime: { episodeLength: 24 } }
      ]

      let times = AnimeService.mapToTimes(animes)

      times.forEach(function (element) {
        element.should.equal(240)
      })
    })
  })
})<commit_msg>adicional expect<commit_after>const chai = require('chai');
const AnimeService = require('../lib/services/AnimeService');
chai.should()

describe('AnimeService', function () {
  describe('#mapToTimes', function () {
    it('should map anime entries to their times', function () {
      let animes = [
        { progress: 10, anime: { episodeLength: 24 } },
        { progress: 10, anime: { episodeLength: 24 } },
        { progress: 10, anime: { episodeLength: 24 } },
        { progress: 10, anime: { episodeLength: 24 } },
        { progress: 10, anime: { episodeLength: 24 } }
      ]

      let times = AnimeService.mapToTimes(animes)
      times.length.should.equal(5)
      times.forEach(function (element) {
        element.should.equal(240)
      })
    })
  })
})
{'fraction_non_alphanumeric': 0.15328467153284672, 'fraction_numerical': 0.031187790311877902, 'mean_word_length': 2.837150127226463, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4478751', 'n_tokens_mistral': 494, 'n_tokens_neox': 444, 'n_words': 106}