A default tap plugin providing
This plugin is installed with tap by default. If you had
previously removed it, you can
tap plugin add @tapjs/worker to
bring it back.
All of the normal Base and Extra options are also allowed.
workerData- Any data passed to the Worker thread. Shows up in the worker thread as
t.workerDataon the root
env- Environment variables provided to the worker thread
eval- if set to
true, then the
string- The file to execute in the thread, or if
string- name of the subtest
Starts a Node.js Worker thread when the test starts, parsing its standard output as a TAP stream.
Returns a Promise that resolves when the test is complete. The
subtest member on the Promise is a
Generated using TypeDoc