Rush StackShopBlogEvents
Skip to main content

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

ExtractorConfig.testMode property

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


readonly 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.