harb/kraiken-lib/src/tests/taxRates.test.ts
2025-10-01 14:43:55 +02:00

11 lines
374 B
TypeScript

import { describe, expect, test } from "@jest/globals";
import { TAX_RATE_OPTIONS } from "../taxRates";
describe("taxRates", () => {
test("tax rate options exported for consumers", () => {
expect(TAX_RATE_OPTIONS.length).toBeGreaterThan(0);
expect(TAX_RATE_OPTIONS[0]).toEqual(
expect.objectContaining({ index: 0, year: 1, decimal: 0.01 })
);
});
});