Get Ready for Unlocked Package Code Coverage Enforcement
Where: This change applies to unlocked package versions created using Salesforce CLI or Tooling API.
When: This change takes effect in Winter ‘21. Unlocked package versions that are promoted to the released state before Winter ‘21 won’t be subject to code coverage requirements.
How: You can use the CalculateCodeCoverage field in the Package2VersionCreateRequest object or the codecoverage CLI parameter on the force:package:version:create when you create a package version.