lineChartWidget.spec.tsx 549 B

12345678910111213141516171819202122232425
  1. import {render} from 'sentry-test/reactTestingLibrary';
  2. import {LineChartWidget} from './lineChartWidget';
  3. describe('LineChartWidget', () => {
  4. describe('Layout', () => {
  5. it('Renders', () => {
  6. render(
  7. <LineChartWidget
  8. title="eps()"
  9. description="Number of events per second"
  10. timeseries={[]}
  11. meta={{
  12. fields: {
  13. 'eps()': 'rate',
  14. },
  15. units: {
  16. 'eps()': '1/second',
  17. },
  18. }}
  19. />
  20. );
  21. });
  22. });
  23. });