Execute some code on main thread, before worker threads are created? #3158
-
The codebase I'm testing relies on sharp.js, which has a known limitation with worker threads —
I was hoping I might get around this with Ava's EDIT: Possibly related to #3027. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Unofficially, |
Beta Was this translation helpful? Give feedback.
Unofficially,
ava.config.js
is imported in the main thread, so you can require it there.