avajs/ava

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

Open

#3 025 ouverte le 18 mai 2022

Voir sur GitHub
 (3 commentaires) (0 réactions) (0 assignés)JavaScript (20 600 stars) (1 408 forks)batch import
enhancementhelp wantedscope:reportersscope:test-environment

Description

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.

Guide contributeur