test("should return price", () => { const callFunction = priceByCurrencyCode("USD", product.variants[0].pricing); expect(typeof priceByCurrencyCode).toBe("function"); expect(callFunction).toEqual(pricingObject); });
test("should return price", () => { const callFunction = priceByCurrencyCode("USD", product.variants[0].pricing); expect(typeof priceByCurrencyCode).toBe("function"); expect(callFunction).toEqual(pricingObject); });