@enumeratio/utils
Home of the repo-wide guard tests, and a leaf of small Node helpers the tooling packages (and the golden-collecting scripts of libraries) share without reaching into each other's source.
./bounded(src/bounded.ts):runBounded/runKernel/KernelKilled/memoryCapMb/groupRssMb: run an external kernel under a resident-memory ceiling, since macOS has no per-process cap.tests/no-snapshots.test.ts: no test underpackages/callstoMatchSnapshotortoMatchInlineSnapshot. Tests assert against committed golden JSON instead, regenerated behind anUPDATE_*flag; snapshot matchers fail when the test task runs throughvp run.tests/no-yaml-imports.test.ts: only@enumeratio/entryimportsyaml; everything else reads and writes through its strict-schemaparseYaml/stringifyYaml.
Each guard walks every package from the workspace root, so it runs with this package's tests (vp test) and in CI's pnpm -r run test.
- Source:
packages/utils - In development, also:
config