automated tests – Async callback was not invoked within the 5000 ms timeout specified by jest.setTimeout


I’m using puppeteer and jest to run some front end tests.Got the following error
Timeout – Async callback was not invoked within the 5000 ms timeout specified by jest.setTimeout.

Just set the third parameter in test(‘description oof test’,()=>{},30000) it will solve issue