Skip to content

Commit dcf10c9

Browse files
committed
chore: exempt test-fixtures.ts's test-only arbitraries from dead-code check
PROPERTY_RUNS, scrollingContainerTypeArb, distinctRectPairArb, and interactionTouchPointScenarioArb are consumed only by *.test.ts files, which Fallow's --production analysis does not see, matching the existing pattern for other workspace-package symbols reached only from the test tree. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01USabYbQjD16A2UkkvMpf5x
1 parent 9ff1930 commit dcf10c9

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.fallowrc.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,16 @@
305305
"createAppLogLiveHandle"
306306
]
307307
},
308+
{
309+
"comment": "#2402: PROPERTY_RUNS, scrollingContainerTypeArb, distinctRectPairArb, and interactionTouchPointScenarioArb are the canonical snapshot/geometry fast-check fixtures both root and this package's tests build on; every consumer (packages/selectors/src/interaction-targeting.test.ts, interaction-touch-point.test.ts, internal/parse.test.ts, and root's wait-positionals.test.ts, kernel/snapshot-ref-grammar.test.ts, commands/replay/ad-script-round-trip.test.ts) is a test-tree file outside --production analysis. makeSnapshotState from the same module is not listed here — its *.fixtures.ts consumers keep it visible to --production analysis already.",
310+
"file": "packages/selectors/src/test-fixtures.ts",
311+
"exports": [
312+
"PROPERTY_RUNS",
313+
"scrollingContainerTypeArb",
314+
"distinctRectPairArb",
315+
"interactionTouchPointScenarioArb"
316+
]
317+
},
308318
{
309319
"comment": "Android mechanics facet: the package exports the complete named implementation seam for root/core/SDK consumers and package-owned tests; Fallow's production graph does not follow workspace subpath imports through the package exports map.",
310320
"file": "packages/platform-android/src/mechanics.ts",

0 commit comments

Comments
 (0)