<commit_before>import visibility from '../visibility'
import * as types from '../../constants/ActionTypes'

describe('visibility reducer', () => {
  const defaultState = {
    hashtagSidebar: false,
    chatSidebar: false,
    chatSidebarHasBeenVisible: false,
    tickerSidebar: false,
    layoutDrawer: false,
  }

  it('defaults all views to not visibile', () => {
    expect(visibility(undefined, {})).toEqual(defaultState)
  })
<commit_msg>Fix gameday2 tests<commit_after>import visibility from '../visibility'
import * as types from '../../constants/ActionTypes'

describe('visibility reducer', () => {
  const defaultState = {
    hashtagSidebar: false,
    chatSidebar: true,
    chatSidebarHasBeenVisible: true,
    tickerSidebar: false,
    layoutDrawer: false,
  }

  it('defaults all views to not visibile', () => {
    expect(visibility(undefined, {})).toEqual(defaultState)
  })

{'fraction_non_alphanumeric': 0.1366181410974244, 'fraction_numerical': 0.0011198208286674132, 'mean_word_length': 4.0508474576271185, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '2554801', 'n_tokens_mistral': 270, 'n_tokens_neox': 267, 'n_words': 64}