import * as React from 'react'; import ConfigProvider from '..'; import Button from '../../button'; import Divider from '../../divider'; import { render } from '../../../tests/utils'; describe('ConfigProvider.DynamicTheme', () => { beforeEach(() => { Array.from(document.querySelectorAll('style')).forEach(style => { style.parentNode?.removeChild(style); }); }); it('customize primary color', () => { render(