Jest upgrade to v27 or higher
alexsedano010 opened this issue · 1 comments
Hi, is it planned for the serverless-bundle to upgrade their jest version to v27 or higher?
Currently we are having some issues with ussing the middy package together with the serverless-bundle test, it throws an error when using the serverless-bundle test command.
Since serverless-bundle uses jest v26.x.x (which does not support the node Abort Class) and middy uses the AbortController class it throws an AbortController is not defined error.
A workaround for this is running the test directly with jest and not using the serverless-bundle command.
@alexsedano010 this is similar to the Typescript 5.0 Support issue. Given the delay in getting these resolved, I had to "eject" from serverless-bundle
. You can see what I did here if you're interested.