Giorgio

Results 17 comments of Giorgio

I found now a closed Issue https://github.com/vendia/serverless-express/issues/363. I've tried copy pasting the whole structure of https://github.com/vendia/serverless-express/blob/mainline/jest-helpers/api-gateway-v1-event.js but got a response with an empty object {}. I'm going to try https://github.com/serverless/event-mocks

Thank you @brettstack . Adding await fixed the problem. I had started with the await and then removed it when using the wrong event and I didn't put it back....

Thanks! Yes indeed launching ```NODE_ENV=testing jest handler``` hides the debug logs. @brettstack would you be interested in a PR to add a section How to unit test to the Readme.md?

I've encountered the error [TypeError: Converting circular structure to JSON](https://github.com/jest-community/jest-runner-eslint/issues/96#) again while updating from eslint 7.32.0 to 8.20.0 with eslint-plugin-react-hooks 4.2.0 Updating to latest stable eslint-plugin-react-hooks 4.6.0 fixed the problem

this appear to be happening on low cost Sony Experia devices. They all mount Android 4.0.4 and have a low resolution HDPI (almost MDPI). I couldn't fix the problem so...

For me downgrading to cypress 9.2.0 did not remove the error. Tests are still passing with both 9.2.0 and 9.5.1 with the error.

warp terminal does support click to open on file paths https://www.warp.dev/

I found myself having this same issue and I realized: we should not flush pending promises but instead we should have the entire test fail if there are pending promises....

I think flushing promises would be curing the symptoms instead of the illness. Promises should resolve normally in tests without the need to be flushed. If there is a pending...