import { describe, expect, it } from "vitest" import { getTotalPrice } from "./getTotalPrice" describe("getTotalPrice", () => { it("should return null when no rates are selected", () => { const result = getTotalPrice({ selectedRates: [], isMember: false, }) expect(result).toEqual({ local: { currency: "Unknown", price: 0, regularPrice: undefined, }, requested: undefined, }) }) })