Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

Enable worker_threads where available #111

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

developit
Copy link
Contributor

It would be nice to have this run in threads rather than child processes on versions of Node with worker_threads. Jest-worker supports automatically detecting and using threads, but as per the docs, will only do so when passed enableWorkerThreads:true:

jest-worker will automatically detect if worker_threads are available, but will not use them unless passed enableWorkerThreads: true.

@kherock
Copy link

kherock commented Jan 25, 2022

+1

I'd really like to see this since it would allow me to bypass jestjs/jest#12060 which is preventing me from using Yarn's ESM loader with this plugin.

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

Successfully merging this pull request may close these issues.

None yet

2 participants