Home > @microsoft/api-extractor > IConfigFile > testMode

IConfigFile.testMode property

Set to true when invoking API Extractor’s test harness.

Signature:

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.