import {mountWithTheme} from 'sentry-test/enzyme';
import ScoreBar from 'app/components/scoreBar';
describe('ScoreBar', function () {
beforeEach(function () {});
afterEach(function () {});
it('renders', function () {
const wrapper = mountWithTheme();
expect(wrapper).toSnapshot();
});
it('renders vertically', function () {
const wrapper = mountWithTheme(
);
expect(wrapper).toSnapshot();
});
it('renders with score = 0', function () {
const wrapper = mountWithTheme();
expect(wrapper).toSnapshot();
});
it('renders with score > max score', function () {
const wrapper = mountWithTheme();
expect(wrapper).toSnapshot();
});
it('renders with < 0 score', function () {
const wrapper = mountWithTheme();
expect(wrapper).toSnapshot();
});
it('has custom palette', function () {
const wrapper = mountWithTheme(
);
expect(wrapper).toSnapshot();
});
});