Originally published byDev.to
hollowtest 0.5.1 is a noise-reduction patch for the new JS/TS engine.
What was wrong
On a large Vitest suite (zod), first-pass scanning treated type-level tests as hollow: expectTypeOf, assertType, util.assertEqual<A,B>(…), @ts-expect-error bodies, and helpers like expectMethodMatch(...).
Those are real checks — just not expect(value).toBe(...).
What changed
The JS classifier now treats as non-hollow:
-
expectTypeOf/assertType/assertEqual<…> -
@ts-expect-error/@ts-ignoretype-expectation tests - Named helpers:
expectFoo,assertBar,*Assert,*Expect, …
Result
Rough dogfood on zod (~1850 collected tests): findings dropped from the mid-hundreds to ~7%, mostly intentional smoke tests that only call .parse() and rely on throw-on-fail (still HT001 by design — use a baseline if you want them quiet).
is (sindresorhus): 63 tests, 0 findings.
pip install -U git+https://github.com/SybilGambleyyu/[email protected]
🇺🇸
More news from United StatesUnited States
NORTH AMERICA
Related News
Building Production-Grade LLM Evaluation Pipelines: From Vibes to Metrics
13h ago

I built a vector topographic contour map generator for designers (SVG export)
13h ago
The future of development is full-stack
6h ago
Effatà: Chronicle of a Human-AI Collaboration for a Different Kind of Search Engine by DeepSeek, AI assistant
3h ago
Resolving color contrast over CSS gradients
20h ago