import { test } from "vitest";
import { Schema, parseOptionValueWithSchema } from "./helpers";

const testSchema: Schema = {
  stringValue: "string",
  booleanValue: "boolean",
  numberValue: "number",
};

test("parseOptionValueWithSchema doesn't throw an exception", () => {
  Object.entries(testSchema).forEach(([, valueType]) => {
    parseOptionValueWithSchema(valueType, "1");
  });
});
