<commit_before>module.exports = (grunt) ->

  grunt.loadNpmTasks 'grunt-mocha-test'

  grunt.initConfig
    mochaTest:
      test:
        options:
          reporter: 'spec'
          quiet: false
          clearRequireCache: false
        src: ['test/*.coffee', 'test/*/*.coffee', 'test/*/*/*.coffee']

  grunt.registerTask 'default', 'mochaTest'
<commit_msg>tests: divide up gruntfile<commit_after>module.exports = (grunt) ->

  grunt.loadNpmTasks 'grunt-mocha-test'

  grunt.initConfig
    mochaTest:

      common: src: ['test/common/*.coffee']

      translate: src: ['test/translate.coffee']

      facet: src: ['test/components/facet/*.coffee']

      testOptions: src: ['test/components/options/*.coffee']

      query: src: ['test/components/query/*.coffee']

      mongo: src: ['**/mongo.coffee']

      postgres: src: ['**/postgres.coffee']

      solr: src: ['**/solr.coffee']


  grunt.registerTask 'default',
    ['mochaTest:common', 'mochaTest:translate', 'mochaTest:facet',
     'mochaTest:testOptions', 'mochaTest:query']

  grunt.registerTask 'mongo', 'mochaTest:mongo'

  grunt.registerTask 'postgres', 'mochaTest:postgres'

  grunt.registerTask 'solr', 'mochaTest:solr'

{'fraction_non_alphanumeric': 0.1670864819479429, 'fraction_numerical': 0.0, 'mean_word_length': 3.303249097472924, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '7509313', 'n_tokens_mistral': 451, 'n_tokens_neox': 413, 'n_words': 70}