Rocky_Mountain_Vending/.pnpm-store/v10/files/26/c3c55d12a3085790b142fc860125ae39cf7c2cfea98be65a685eb415b368c766e110e5c08cee95b0f6c199e9be1796fca2d5748596225fb5ab0681ff443bba
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
418 B
Text

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