import { create } from 'react-test-renderer';
import Datapoint from './Datapoint';
describe('Datapoint', () => {
it('renders', () => {
const tree = create(
,
).toJSON();
expect(tree).toMatchSnapshot();
});
it('renders an accessibility label', () => {
const tree = create(
,
).toJSON();
expect(tree).toMatchSnapshot();
});
it('renders a tooltip', () => {
const tree = create(
,
).toJSON();
expect(tree).toMatchSnapshot();
});
it('renders a badge', () => {
const tree = create(
,
).toJSON();
expect(tree).toMatchSnapshot();
});
});