You need to update your sfdx-lwc-jest
node dependency to a more recent version:
- Edit
package.json
- Update the version of
sfdx-lwc-jest
underdevDependencies
. FYI: 0.7.0 is with the latest for api v48.0 at timeproper version of writing.'sfdx-lwc-jest' according to your current Salesforce version from here in versions tab - Run
npm install
oryarn install
depending on your Node package manager.