Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jest upgrade to v27 or higher #355

Open
alexsedano010 opened this issue Mar 31, 2023 · 1 comment
Open

Jest upgrade to v27 or higher #355

alexsedano010 opened this issue Mar 31, 2023 · 1 comment

Comments

@alexsedano010
Copy link

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.

image

A workaround for this is running the test directly with jest and not using the serverless-bundle command.

@Jackman3005
Copy link

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants