<commit_before>'use strict'

import test from 'ava'

import openModal from '../reducers/open-modal'

test('open modal', t => {
  const state = [{name: "Add Summoners", open: false}, {name: "Add Location", open: false}]
  const index = 0
  const action = {type: 'OPEN_SUMMONERS_MODAL', index}
  const data = openModal(state, action)

  t.is(data[index].open, true)
})<commit_msg>Single Quotes<commit_after>'use strict'

import test from 'ava'

import openModal from '../reducers/open-modal'

test('open modal', t => {
  const state = [{name: 'Add Summoners', open: false}, {name: 'Add Location', open: false}]
  const index = 0
  const action = {type: 'OPEN_SUMMONERS_MODAL', index}
  const data = openModal(state, action)

  t.is(data[index].open, true)
})
{'fraction_non_alphanumeric': 0.15873015873015872, 'fraction_numerical': 0.0026455026455026454, 'mean_word_length': 4.649253731343284, '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': '6238014', 'n_tokens_mistral': 263, 'n_tokens_neox': 254, 'n_words': 79}