model-options.test.ts 296 B

123456789
  1. import { describe, expect, it } from "vitest";
  2. import type { LimitOptionSpec } from "../src/model/model.js";
  3. describe("LimitOptionSpec", () => {
  4. it("describes only the hard maximum", () => {
  5. const spec: LimitOptionSpec = { max: 8_000 };
  6. expect(spec).toEqual({ max: 8_000 });
  7. });
  8. });