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.
342 B · 11 lines
TypeScript
123456789101112import { describe, it } from "@std/testing/bdd";import { expect } from "@std/expect";import { constant } from "../lib/constant.ts";import { parseOk } from "./test-helpers.ts";
describe("constant", () => { it("parses a constant", () => { let value = parseOk(constant("hello world")); expect(value).toBe("hello world"); });});