Browse Source

chore: update dark image test (#41252)

pull/41108/merge
MadCcc 2 years ago
committed by GitHub
parent
commit
12d85256a7
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      tests/shared/imageTest.tsx

2
tests/shared/imageTest.tsx

@ -40,7 +40,7 @@ export default function imageTest(component: React.ReactElement) {
const element = (
<ConfigProvider theme={{ algorithm }}>
<App>
<App style={{ background: algorithm === theme.darkAlgorithm ? '#000' : '' }}>
<StyleProvider cache={cache}>{component}</StyleProvider>
</App>
</ConfigProvider>

Loading…
Cancel
Save