import { describe, expect, test } from "vitest"; import { formatPrice } from "./format-price.js"; describe("formatPrice", () => { test("formats cents as dollars", () => { expect(formatPrice(1299)).toBe("$12.99"); }); });