Is it possible to test if a function is running in worker thread in Jest?

后端 未结 0 385
时光取名叫无心
时光取名叫无心 2021-01-29 11:46

I want to test if I successfully run my function in Worker Thread instead of Main Thread in Jest, is that possible to do so?

Can I testing directly, instead of indirectly

相关标签:
回答
  • 消灭零回复
提交回复
热议问题