index.spec.js 431 B

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