Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/bombshell-dev/configliere. A statically typed entry-point router for command-line applications
Something went wrong. Try again.
326 B · 10 lines
TypeScript
at bugfix
1234567891011import { describe, it } from "@std/testing/bdd";import { type } from "arktype";import { field } from "../lib/field.ts";import { parseNotOk } from "./test-helpers.ts";
describe("boolean", () => { it("is not considered a valid false value if it is undefined", () => { parseNotOk(field(type("boolean")), {}); });});