App reviews, troubleshooting, and recommendations
Hey everyone, I am facing a difficulty regards unit testing my Shopify app which built in PHP (Backend) and React (Frontend).
When ever i try to do a test case for a component which using "useAuthenticatedFetch"
hook i keep getting "No AppBridge context provided. Your component must be wrapped in the <Provider> component from App Bridge React" and when ever i try to wrap the component with the App Bridge Provider it doesn`t work since its require few params (Host, ShopifyApiKey).
So my Question is how i can mock the App Bridge Provider the required params?
Thanks for your time.
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025