INTO-CPS-Association/DTaaS

View on GitHub
client/test/unit/routes/Workbench.test.tsx

Summary

Maintainability
A
0 mins
Test Coverage
import * as React from 'react';
import { screen } from '@testing-library/react';
import WorkBench from 'route/workbench/Workbench';
import { InitRouteTests } from 'test/unit/unit.testUtil';

describe('Workbench', () => {
  InitRouteTests(<WorkBench />);

  it('displays buttons', () => {
    const buttons = screen.getByRole('button');
    expect(buttons).toBeInTheDocument();
  });
});