You need to sign in to do that
Don't have an account?
shailendra modi
How to test setter/getter method in LWC.js using jest.?
I am trying to test LWC compoents.js using jest. There is a setter method(Step) inside of the LWC components js file, but I am unable to test the setter method. I tried the solution using mock that the jest provided for the setter method.
lokegupta
Shailendra can you post the snippet for getter and setter method as well?
shailendra modi