(sku)
| 635 | }); |
| 636 | |
| 637 | async function getPurchase(sku) { |
| 638 | const purchases = await helpers.promisify(iap.getPurchases); |
| 639 | const purchase = purchases.find((p) => |
| 640 | p.productIds.includes(sku), |
| 641 | ); |
| 642 | return purchase; |
| 643 | } |
| 644 | }); |
| 645 | }) |
| 646 | .catch((error) => { |
nothing calls this directly
no outgoing calls
no test coverage detected