<commit_before>import React from 'react'
import { shallow, configure } from 'enzyme'
import Adapter from 'enzyme-adapter-react-16'
import configureStore from 'redux-mock-store'

import { getUser } from 'redux/selectors'
import ProjectCollaborators, { AddProjectCollaboratorButton } from './ProjectCollaborators'
import { STATE_WITH_2_FAMILIES } from '../fixtures'

configure({ adapter: new Adapter() })

test('shallow-render without crashing', () => {
  const store = configureStore()(STATE_WITH_2_FAMILIES)
  shallow(<ProjectCollaborators store={store} />)
})

test('shallow-render button without crashing', () => {
  const store = configureStore()(STATE_WITH_2_FAMILIES)
  shallow(<AddProjectCollaboratorButton store={store} />)
})
<commit_msg>fix unti test<commit_after>import React from 'react'
import { shallow, configure } from 'enzyme'
import Adapter from 'enzyme-adapter-react-16'
import configureStore from 'redux-mock-store'

import { getUser } from 'redux/selectors'
import ProjectCollaborators from './ProjectCollaborators'
import { STATE_WITH_2_FAMILIES } from '../fixtures'

configure({ adapter: new Adapter() })

test('shallow-render without crashing', () => {
  const store = configureStore()(STATE_WITH_2_FAMILIES)
  shallow(<ProjectCollaborators store={store} />)
})

{'fraction_non_alphanumeric': 0.12607003891050583, 'fraction_numerical': 0.007003891050583658, 'mean_word_length': 6.306818181818182, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 9, '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': '5448343', 'n_tokens_mistral': 402, 'n_tokens_neox': 390, 'n_words': 94}