11 lines
374 B
TypeScript
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 })
|
|
);
|
|
});
|
|
});
|