You need to sign in to do that
Don't have an account?
Herish Surendran
Could anyone help me in showing sample of jest test for mocking lighting messaging service in lwc.
I tried going through lwc receipe github url. https://github.com/trailheadapps/lwc-recipes/blob/master/force-app/main/default/lwc/lmsSubscriberWebComponent/__tests__/lmsSubscriberWebComponent.test.js
But it didn't help me.
But it didn't help me.
https://www.sfdcpanther.com/lightning-message-services/
An implementation with use of lightning message service in lwc is mentioned in the above link can you try checking it? but the there I couldn't find a test class for the lightning message service.
Let me know if it helps you and close your query by marking it as solved so that it can help others in the future.
Thanks.