Skip to content

Commit

Permalink
test: suffix should starts with dot key
Browse files Browse the repository at this point in the history
  • Loading branch information
vagusX committed Jan 17, 2024
1 parent 58710db commit 807c3b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/shared/imageTest.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ export default function imageTest(
);
test(
`[CSS Var without Hash] component image screenshot should correct ${key}`,
`-${key}.css-var-without-hash`,
`.${key}.css-var-without-hash`,
<div style={{ background: key === 'dark' ? '#000' : '', padding: `24px 12px` }} key={key}>
<ConfigProvider theme={{ algorithm, cssVar: true, hashed: false }}>
{component}
Expand Down

0 comments on commit 807c3b5

Please sign in to comment.