Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

104
Views
expectSaga() always times out - even with trivial/empty saga

I'm sure it is a newbie mistake, but I am surprised that the expectSaga() test below times out. -- advice appreciated!

import { expectSaga, testSaga } from 'redux-saga-test-plan';

function* saga() {}

// ✅ ...this passes
it('should be testable with testSaga()', () => {
  testSaga(saga).next().isDone();
});

// ❌ ...this times out
it('should be testable with expectSaga()', () => {
  return expectSaga(saga).run();
});
  • redux-saga-test-plan@4.0.4
  • redux-saga@1.1.3
  • react 17
  • jest@27.5.1
  • typescript@4.6.3
about 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!