old_contents: import test from 'tape'
  import { browserHistory } from 'react-router'
  
  import createConfigureStore from './index'
  
  test('create store with default options should export two states', (t) => {
    global.window = {}
    const store = createConfigureStore()
    const state = store.getState()
    t.deepEqual(Object.keys(state).sort(), ['repository', 'user'])
    global.window = undefined
    t.end()
  })
  
  test('create store with intiial state should overwrite default states', (t) => {
    global.window = {}
    const store = createConfigureStore(browserHistory, { repository: { foo: 'bar' } })
    const state = store.getState()
    t.deepEqual(state.repository.foo, 'bar')
    global.window = undefined
    t.end()
  })
  
new_contents: import test from 'tape'
  import { browserHistory } from 'react-router'
  
  import createConfigureStore from './index'
  
  test('create store with default options should export two states', (t) => {
    global.window = {}
    const store = createConfigureStore()
    const state = store.getState()
    t.deepEqual(Object.keys(state).sort(), ['repository', 'session', 'user'])
    global.window = undefined
    t.end()
  })
  
  test('create store with intiial state should overwrite default states', (t) => {
    global.window = {}
    const store = createConfigureStore(browserHistory, { repository: { foo: 'bar' } })
    const state = store.getState()
    t.deepEqual(state.repository.foo, 'bar')
    global.window = undefined
    t.end()
  })
  
subject: Fix tests