Rocky_Mountain_Vending/.pnpm-store/v10/files/b4/51a62df2572b99ea63f4b6a24b10322b5a77d74edeb5e390dde5009e55a8c8e37c75bc0e6c00a1499d9042f0791b613a0502ee1f974ff9549a9c62d492c5e0
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

19 lines
523 B
Text

import { es } from "date-fns/locale/es";
import { DateLib } from "../classes/DateLib";
import { formatMonthDropdown } from "./formatMonthDropdown";
const date = new Date(2022, 10, 21);
test("should return the formatted month dropdown label", () => {
expect(formatMonthDropdown(date)).toEqual("November");
});
describe("when a locale is passed in", () => {
test("should format using the locale", () => {
expect(formatMonthDropdown(date, new DateLib({ locale: es }))).toEqual(
"noviembre"
);
});
});