Rush StackShopBlogEvents
Skip to main content

Home > @microsoft/api-extractor-model > IApiPackageSaveOptions > testMode

IApiPackageSaveOptions.testMode property

Set to true only when invoking API Extractor's test harness.


testMode?: boolean;


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.