salesforce / sfdx-lwc-jest

Run Jest against LWC components in SFDX workspace environment
MIT License
162 stars 81 forks source link

feat: remove Salesforce source API version dependency #370

Closed pozil closed 2 months ago

pozil commented 3 months ago

Following our discussion in #349, I'm proposing to remove the dependency on Salesforce source API version. This means removing the API version check and deprecating the --skipApiVersionCheck flag.

I've kept the flag in order to guarantee backward compatibility and not introduce a breaking change. If the flag is present, the runner will ignore it and display this warning:

The --skipApiVersionCheck flag is deprecated and will be removed in future versions.