Skip to content

Commit a8e1b46

Browse files
committed
Add TODO comments on visual test override entries
https://claude.ai/code/session_017ZD61A5aZG3vQWkJPMRFex
1 parent 6e3682e commit a8e1b46

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

scripts/verify-storybook-rendering.mts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,15 @@ const FLAKINESS_EXPECTED = new Set<string>([
6161
]);
6262

6363
// Case-specific pixelmatch threshold overrides for known anti-aliasing noise.
64-
const CASE_THRESHOLD_OVERRIDES = new Map<string, number>([["transientProp-memberExpression", 0.2]]);
64+
const CASE_THRESHOLD_OVERRIDES = new Map<string, number>([
65+
["transientProp-memberExpression", 0.2], // TODO: investigate if this override can be removed
66+
]);
6567

6668
// Case-specific mismatch tolerance overrides (fraction of total pixels).
6769
// Dynamic StyleX style functions produce inline CSS variable attributes that
6870
// cause sub-pixel text anti-aliasing differences vs styled-components' class-only approach.
6971
const CASE_MISMATCH_TOLERANCE_OVERRIDES = new Map<string, number>([
70-
["selector-componentDynamicProp", 0.03],
72+
["selector-componentDynamicProp", 0.03], // TODO: investigate if this override can be removed
7173
]);
7274

7375
type Page = Awaited<ReturnType<Awaited<ReturnType<typeof chromium.launch>>["newPage"]>>;

0 commit comments

Comments
 (0)