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.
Transform this holiday season into a shopping spree. Plus, learn how to effortlessly open ...
By Jasonh Dec 8, 2023Make the shift from discounts to donations, and witness your business not only thrive fina...
By Holly Dec 4, 2023On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023