import { describe, expect, it } from "vitest";
import { parseCustomModelIds } from "../src/dimsdk/pages/utils/custom-models.ts";

describe("custom models", () => {
  it("parses model ids separated by commas or newlines", () => {
    expect(
      parseCustomModelIds("model-a, model-b\nmodel-c,\nmodel-a\n  model-d  "),
    ).toEqual(["model-a", "model-b", "model-c", "model-d"]);
  });
});
