We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I call emit() on an apex method that is wired in a test, all of the apex methods fire instead just the specified one. I created a repo where this is reproduced: https://github.com/seanpat09/wire-service-jest-util-bug/tree/main/force-app/main/default/lwc/apexWireMethodToFunction
emit()
That test should pass, but both getContactList and getAccountList both fire when only getContactList should fire.
getContactList
getAccountList
The text was updated successfully, but these errors were encountered:
thanks for reporting this @seanpat09. We are working on it (salesforce/sfdx-lwc-jest#232)
Sorry, something went wrong.
No branches or pull requests
When I call
emit()
on an apex method that is wired in a test, all of the apex methods fire instead just the specified one. I created a repo where this is reproduced: https://github.com/seanpat09/wire-service-jest-util-bug/tree/main/force-app/main/default/lwc/apexWireMethodToFunctionThat test should pass, but both
getContactList
andgetAccountList
both fire when onlygetContactList
should fire.The text was updated successfully, but these errors were encountered: