import React from 'react';
import { customRender } from 'test-utils';
import NotificationBadge from '.';
describe('', () => {
it('should render correctly', () => {
const { container } = customRender(2);
const badge = container.firstChild;
expect(badge).toHaveStyle(`
color: #FFF;
background-color: rgb(237, 81, 83);
`);
});
it('should allow to pass any props', () => {
const { container } = customRender(2);
expect(container.querySelector('[data-foo="bar"]')).toBeInTheDocument();
});
});