index.spec.js 336 B

1234567891011121314151617181920
  1. import { testSaga } from 'redux-saga-test-plan';
  2. import {
  3. rootSaga
  4. } from 'sagas';
  5. import {
  6. crudSaga
  7. } from 'sagas/crud';
  8. describe('Root saga', () => {
  9. it('should fork other sagas', () => {
  10. testSaga(rootSaga)
  11. .next()
  12. .fork(crudSaga)
  13. .next()
  14. .isDone();
  15. });
  16. });