You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.
Since a regex literal is being used I assume there's a problem serialising it's when it's being passed into the worker (new v2.0.0 feature). I haven't used the jest-worker package before so I'm not sure how it passes data exactly. I could imagine a way around this is to convert the regex into a string, send it, and then back into a regex in the worker but I'm not sure that's viable with jest-worker.
The text was updated successfully, but these errors were encountered:
When passing the
mangle.properties.regex
option the following error is thrown:Example options:
Since a regex literal is being used I assume there's a problem serialising it's when it's being passed into the worker (new v2.0.0 feature). I haven't used the
jest-worker
package before so I'm not sure how it passes data exactly. I could imagine a way around this is to convert the regex into a string, send it, and then back into a regex in the worker but I'm not sure that's viable with jest-worker.The text was updated successfully, but these errors were encountered: