create-react-app-typescript icon indicating copy to clipboard operation
create-react-app-typescript copied to clipboard

Upgrade Jest to support URLSearchParams

Open mark-adams opened this issue 7 years ago • 2 comments

Hi everyone!

I'm using new URLSearchParams() in my project and apparently older versions of jest don't support that which results in the following error:

ReferenceError: URLSearchParams is not defined

Would it be possible to upgrade Jest (or whatever Jest-related dependencies are out of date) to one that use at least jsdom 11?

mark-adams avatar Oct 09 '18 22:10 mark-adams

I do have the same problem here

sanderdrummer avatar Oct 19 '18 17:10 sanderdrummer

I'm too looking for a fix or workaround as well.

vnugent avatar Oct 23 '18 10:10 vnugent