UNPKG

hypertune

Version:

[Hypertune](https://www.hypertune.com/) is the most flexible platform for feature flags, A/B testing, analytics and app configuration. Built with full end-to-end type-safety, Git-style version control and local, synchronous, in-memory flag evaluation. Opt

15 lines (12 loc) 392 B
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"); }); });