text: import test from 'ava';
  import { takeLatest } from 'redux-saga/effects';
  import actions from 'actions';
  import appSaga, { goHomeSaga } from './index';
  
  test('should take latest LOGIN request', t => {
    const iterator = appSaga();
  
    t.deepEqual(iterator.next().value, takeLatest(actions.GO_HOME, goHomeSaga));
  });
  