Home > @microsoft/api-extractor > ExtractorConfig > testMode
ExtractorConfig.testMode property
Set to true when invoking API Extractor's test harness.
Signature:
readonly testMode: boolean;
Remarks
When testMode
is true, the toolVersion
field in the .api.json file is assigned an empty string to prevent spurious diffs in output files tracked for tests.