avajs/ava

Print useful message when worker threads cannot be used due to Node.js flags

Open

#3,025 创建于 2022年5月18日

在 GitHub 查看
 (3 评论) (0 反应) (0 负责人)JavaScript (20,600 star) (1,408 fork)batch import
enhancementhelp wantedscope:reportersscope:test-environment

描述

See discussion in https://github.com/avajs/ava/pull/3015. Certain Node.js flags stop worker threads from working. We should recognize that error (ERR_WORKER_INVALID_EXEC_ARGV) and print a useful error message so users know to disable worker threads in AVA.

贡献者指南