Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
it('renders default `component.remirror:icon` styles', () => {
const { container } = render(
,
);
const svg = container.querySelector('svg');
expect(svg).toHaveStyle(
`color: ${baseTheme.colors.text}; background-color: ${baseTheme.colors.background};`,
);
});
it('renders default styles', () => {
const { container } = render(
,
);
const svg = container.querySelector('svg');
expect(svg).toHaveStyle(
`color: ${baseTheme.colors.text}; background-color: ${baseTheme.colors.background};`,
);
});