0

When I create a Litghtning Web Component and click push, component does not push to an org and "All Up To Date" message received. Does anybody know how to fix it?enter image description here

2
  • 5
    Is API version of project/module 45? – kurunve Feb 5 '19 at 14:15
  • Yes, it is. I've tried not sfdx project and there it's fine. – Schohan Hok Feb 5 '19 at 14:39
3

From your screenshot I see you have a __tests__ folder, which I assume contains some Jest unit test related code. The __tests__ folder and it's content cannot be pushed to your orgs and should be ignored by modifying the .forceignore file in your project.

Add a **/__tests__/** entry to the top level .forceignore file and try again.

See how the ebikes-lwc sample project does it here.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.