<commit_before>'use strict';

require('../test_helper');

describe('Cache', () => {
  beforeEach(() => {
    Cache.initialize();
  });

  describe('#initialize', () => {
    it('should set default values', () => {
      assert.deepEqual(Cache.playing, {});
      assert.deepEqual(Cache.local, {});
      assert.deepEqual(Cache.soundcloud, {});
      assert.deepEqual(Cache.templates, {});
    });

    it('should set deeper fields for YouTube', () => {
      assert.deepEqual(Cache.youtube.items, []);
      assert.deepEqual(Cache.youtube.video_urls, {});
    });

    it('should set default scope', () => {
      assert.equal(Cache.current.module, 'meta');
      assert.equal(Cache.current.action, 'index');
    });
  });
<commit_msg>Add a missing assertion for Cache tests<commit_after>'use strict';

require('../test_helper');

describe('Cache', () => {
  beforeEach(() => {
    Cache.initialize();
  });

  describe('#initialize', () => {
    it('should set default values', () => {
      assert.deepEqual(Cache.playing, {});
      assert.deepEqual(Cache.local, {});
      assert.deepEqual(Cache.soundcloud, {});
      assert.deepEqual(Cache.templates, {});
      assert.deepEqual(Cache.search, {});
    });

    it('should set deeper fields for YouTube', () => {
      assert.deepEqual(Cache.youtube.items, []);
      assert.deepEqual(Cache.youtube.video_urls, {});
    });

    it('should set default scope', () => {
      assert.equal(Cache.current.module, 'meta');
      assert.equal(Cache.current.action, 'index');
    });
  });

{'fraction_non_alphanumeric': 0.20416124837451236, 'fraction_numerical': 0.0, 'mean_word_length': 3.263157894736842, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, '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': '4405180', 'n_tokens_mistral': 471, 'n_tokens_neox': 461, 'n_words': 69}