Rocky_Mountain_Vending/.pnpm-store/v10/files/88/a01172f82af1fb5f260a980001b2e2f739cc0e7fa037ed134fc51aa719e9ead0454ddb981bf060bb3fe4ee14cf8d839555c434b48d4b489513e4c75b82b276
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

16 lines
502 B
Text
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { DateLib } from "../classes";
import { formatWeekNumber } from "./formatWeekNumber";
test("should return the formatted week number", () => {
expect(formatWeekNumber(10)).toEqual("10");
});
test("should return the formatted week number with leading zero", () => {
expect(formatWeekNumber(1)).toEqual("01");
});
test("should format with the provided numeral system", () => {
const dateLib = new DateLib({ numerals: "arab" });
expect(formatWeekNumber(1, dateLib)).toEqual("٠١");
});