<commit_before>const { expect } = require('chai');
const { fakeResource } = require('tests/fakes');


describe("tests/fakes", () => {
  describe("fakeResource", () => {
    it("should support defaults", () => {
      const fake = fakeResource(() => ({foo: 23}));

      expect(fakeResource({}))
        .to.deep.equal({foo: 23});
    });
  });
});
<commit_msg>Fix bad renaming of fakeResource in tests<commit_after>const { expect } = require('chai');
const { fakeResource } = require('tests/fakes');


describe("tests/fakes", () => {
  describe("fakeResource", () => {
    it("should support defaults", () => {
      const fake = fakeResource(() => ({foo: 23}));

      expect(fake({}))
        .to.deep.equal({foo: 23});
    });
  });
});

{'fraction_non_alphanumeric': 0.22972972972972974, 'fraction_numerical': 0.010810810810810811, 'mean_word_length': 3.4909090909090907, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '767227', 'n_tokens_mistral': 242, 'n_tokens_neox': 227, 'n_words': 44}