Rocky_Mountain_Vending/.pnpm-store/v10/files/e2/3634c166778f282ec478ec17bb497556cf51610ba80b5356f564809d85bf005ce0ef517cebdcaa5be63c9327ba3e6d85af6b5192916a86daeb33f1017e4d80
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

15 lines
422 B
Text

import { es } from "date-fns/locale/es";
import { formatWeekdayName } from "./formatWeekdayName";
const date = new Date(2022, 10, 21);
test("should return the formatted weekday name", () => {
expect(formatWeekdayName(date)).toEqual("Mo");
});
describe("when a locale is passed in", () => {
test("should format using the locale", () => {
expect(formatWeekdayName(date, { locale: es })).toEqual("lu");
});
});