MadCcc
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
tests/shared/imageTest.tsx
|
@ -40,7 +40,7 @@ export default function imageTest(component: React.ReactElement) { |
|
|
|
|
|
|
|
|
const element = ( |
|
|
const element = ( |
|
|
<ConfigProvider theme={{ algorithm }}> |
|
|
<ConfigProvider theme={{ algorithm }}> |
|
|
<App> |
|
|
<App style={{ background: algorithm === theme.darkAlgorithm ? '#000' : '' }}> |
|
|
<StyleProvider cache={cache}>{component}</StyleProvider> |
|
|
<StyleProvider cache={cache}>{component}</StyleProvider> |
|
|
</App> |
|
|
</App> |
|
|
</ConfigProvider> |
|
|
</ConfigProvider> |
|
|