Skip to content

Commit

Permalink
3 act errors removed from AddDataset test
Browse files Browse the repository at this point in the history
  • Loading branch information
lyndsiWilliams committed Sep 8, 2022
1 parent 834ec7e commit 276c42c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,12 @@ import { render, screen } from 'spec/helpers/testing-library';
import AddDataset from 'src/views/CRUD/data/dataset/AddDataset';

describe('AddDataset', () => {
it('renders a blank state AddDataset', () => {
it('renders a blank state AddDataset', async () => {
render(<AddDataset />, { useRedux: true });

const blankeStateImgs = screen.getAllByRole('img', { name: /empty/i });

expect(await screen.findByText(/header/i)).toBeInTheDocument();
// Header
expect(screen.getByText(/header/i)).toBeVisible();
// Left panel
Expand Down

0 comments on commit 276c42c

Please sign in to comment.