LWS Asynchronous Method Call Testing Through Jest #746
Unanswered
VirendraNaruka
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Following all your instructions .But I am getting result as Undefined .. Can you please check .. My LWS sample js is .... >>
I am getting result by (console.log('::Result is ::::'+result);) Undefined.. please help me . I am following all the instructions. from here https://www.youtube.com/watch?v=lMY3HondUAs
@wire(getMyRecId, {recordId: '$recordId'})
wiregetMyRecId({ error, data}) {
if (data) {
this.myId= data;
console.log('::wiregetMyRecId::'+JSON.stringify(data))
this.getRemarks();
} else if(error){
this.error = error;
Beta Was this translation helpful? Give feedback.
All reactions