<commit_before>jest.autoMockOff();

const findProject = require('../../src/config/ios/findProject');
const mockFs = require('mock-fs');
const projects = require('../fixtures/projects');
const ios = require('../fixtures/ios');
const userConfig = {};

describe('ios::findProject', () => {

  beforeEach(() => {
    mockFs({ testDir: projects });
  });

  it('should return path to xcodeproj if found', () => {
    mockFs(projects.flat);
    expect(findProject('')).not.toBe(null);
  });

  it('should return null if there\'re no projects', () => {<commit_msg>Remove unneccessary beforeEach<commit_after>jest.autoMockOff();

const findProject = require('../../src/config/ios/findProject');
const mockFs = require('mock-fs');
const projects = require('../fixtures/projects');
const ios = require('../fixtures/ios');
const userConfig = {};

describe('ios::findProject', () => {
  it('should return path to xcodeproj if found', () => {
    mockFs(projects.flat);
    expect(findProject('')).not.toBe(null);
  });

  it('should return null if there\'re no projects', () => {
    mockFs({ testDir: projects });
{'fraction_non_alphanumeric': 0.20417422867513613, 'fraction_numerical': 0.0, 'mean_word_length': 4.433497536945813, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 10, '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': '2947857', 'n_tokens_mistral': 345, 'n_tokens_neox': 334, 'n_words': 73}