Mimlet
banner
mimletdev.bsky.social
Mimlet
@mimletdev.bsky.social
TypeScript test-data toolkit. Build from schemas or factories, connect fixtures explicitly, and replay property failures with fast-check. Alpha.

https://jeffreynijs.github.io/mimlet/
3/3 With JSON Schema, this demo deliberately changes quantity 9 to 0. Mimlet checks for exactly one observed minimum issue at /quantity, and rejects mismatched results.

Mimlet alpha
jeffreynijs.github.io/mimlet/
October 1, 2026 at 1:44 PM
2/3 With Valibot, build() produces the input fixture: age "42". buildValidated() runs native parsing and returns numeric age 42, with the transform applied once.

Mimlet alpha
jeffreynijs.github.io/mimlet/
October 1, 2026 at 1:43 PM
7/7 A checkout bug, a smaller failing case, a fix, then a regression test.

This demo uses fast-check for generation and shrinking. Mimlet keeps declared fixture relationships together as cases are rebuilt.

Mimlet alpha
jeffreynijs.github.io/mimlet/
October 1, 2026 at 1:20 PM
6/7 Using Hey API? The separate hey-api-builders v3 alpha integration adds fluent overrides to generated model fixtures.

This demo covers model definitions and an explicit admin override.

Mimlet ecosystem
jeffreynijs.github.io/mimlet/
October 1, 2026 at 1:19 PM
5/7 Generate a typed builder from a factory. Use a fluent override for the admin case, then check whether the generated file has drifted.

The demo keeps source generation separate from building fixtures. Check mode does not rewrite files.

Mimlet alpha
jeffreynijs.github.io/mimlet/
October 1, 2026 at 1:18 PM
4/7 Build a mock request from an operation: path params, JSON body, method and headers.

This demo validates the runtime envelope and serializes a PATCH request locally. It does not send it.

Mimlet alpha
jeffreynijs.github.io/mimlet/
October 1, 2026 at 1:16 PM
3/7 One fixture recipe can feed a preview loader and an HTTP response resolver. Matching fresh seeded sessions produce matching values in independent objects.

This demo builds the response locally; it makes no network request.

Mimlet alpha
jeffreynijs.github.io/mimlet/
October 1, 2026 at 1:13 PM
2/7 Found a failing property? Save its replay record.

fast-check supplies seed/path replay. Mimlet checks the recipe context you provide before running it again. Keep the original source and predicate too.

Mimlet alpha
jeffreynijs.github.io/mimlet/
October 1, 2026 at 1:12 PM
1/7 From a Zod schema to a test fixture, then an admin variant. The original recipe stays unchanged.

Use buildValidated() when you want native Zod validation. Explicit invalid overrides are rejected, not repaired.

Mimlet alpha
jeffreynijs.github.io/mimlet/
October 1, 2026 at 1:10 PM