Validation is failing due to this error . I have created new LWC component, it defaults created test.js file .I have removed and have only my component html,js and meta.xml file .I created PR in GitHub and validation fails . Can anyone please support here
The Jest Unit-Tests should not be deployed to the org.
You need to add a
.forceignore file to your project.
Use this file as a template: https://github.com/trailheadapps/visualforce-to-lwc/blob/main/.forceignore