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