<commit_before>
// Get expect from the Chai API for BDD assertion styles
const expect = require('chai').expect;

// Get our car names module here
const carNames = require('./index');

// Tests
describe('start test car-names module', function() {
	
  // Test car-names all property here
  describe('all', function() {
    it('should be an array of strings', function() {
      expect(carNames.all).to.satisfy(isArrayOfStrings);

      function isArrayOfStrings(array) {
		return array.every(item => typeof item === 'string');
      }
    });
	
    it('should contain one car named `Ferrari`', function() {
      expect(carNames.all).to.include('Ferrari');
    });<commit_msg>Modified the isArrayOfStrings function<commit_after>
// Get expect from the Chai API for BDD assertion styles
const expect = require('chai').expect;

// Get our car names module here
const carNames = require('./index');

// Tests
describe('start test car-names module', function() {
	
  // Test car-names all property here
  describe('all', function() {
    it('should be an array of strings', function() {
      expect(carNames.all).to.satisfy(isArrayOfStrings);

	  function isArrayOfStrings(array) {
	    return array.every(function (item) {
		  return typeof item === 'string';
	    });
	  }
    });
	
    it('should contain one car named `Ferrari`', function() {
      expect(carNames.all).to.include('Ferrari');
    });
{'fraction_non_alphanumeric': 0.14081486776268765, 'fraction_numerical': 0.0, 'mean_word_length': 3.560260586319218, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '5478182', 'n_tokens_mistral': 417, 'n_tokens_neox': 397, 'n_words': 123}