@shopify/shopify-api
Version:
Shopify API Library for Node - accelerate development with support for authentication, graphql proxy, webhooks
15 lines (12 loc) • 391 B
JavaScript
;
/**
* Returns a fake shop URL for a store name to use when faking authorization in testing.
*
* @param store The store name for which to create a fake shop URL.
* @returns {string} A fake shop URL for the store name.
*/
function getShopValue(store) {
return `${store}.myshopify.com`;
}
exports.getShopValue = getShopValue;
//# sourceMappingURL=get-shop-value.js.map