Repository navigation
What's Changed
-
Handle worker thread arguments that Node.js rejects by @novemberborn in #3517
-
Add
explicitlyForwardNodeArgumentsconfigurationWorker threads reject certain arguments (such as
--title) when they are passed explicitly viaexecArgv, even if the parent process was started with them. AVA prependsprocess.execArgvto the arguments it passes to workers, which triggersERR_WORKER_INVALID_EXEC_ARGV.Setting
explicitlyForwardNodeArgumentstofalsestops AVA from prependingprocess.execArgv. The option defaults totrueand is intended to be removed in the next major release, when AVA will stop explicitly forwarding the arguments. -
Deprecate
filterNodeArgumentsForWorkerThreadsThe
filterNodeArgumentsForWorkerThreadsoption will be removed in the next major release. Instead computenodeArgumentsfromprocess.execArgvin a config file. You can do this today by settingexplicitlyForwardNodeArgumentstofalse.
-
-
Run TAP reporter in a worker thread, in preparation for moving it out of AVA itself, by @novemberborn in #3521
Full Changelog: v8.4.0...v8.5.0