I am getting timeout error

Continuing the discussion from I am getting timeout error:

Timeout - Async callback was not invoked within the 30000ms timeout specified by jest.setTimeout.Timeout - Async callback was not invoked within the 30000ms timeout specified by jest.setTimeout.Error

getting this even after setting testTimeout in config file

30000ms is too much time, are you sure that any network call is not delaying the code?

Kanika

I have solved this issue. The query wasn’t correct. Corrected the query and it worked. Thanks for your response

1 Like