Skip to content

Commit

Permalink
3 act errors removed from DatasetLayout test
Browse files Browse the repository at this point in the history
  • Loading branch information
lyndsiWilliams committed Sep 8, 2022
1 parent b302818 commit 86362d6
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,15 @@ describe('DatasetLayout', () => {
expect(screen.getByText(/header/i)).toBeVisible();
});

it('renders a LeftPanel when passed in', () => {
it('renders a LeftPanel when passed in', async () => {
render(
<DatasetLayout leftPanel={<LeftPanel setDataset={() => null} />} />,
{ useRedux: true },
);

expect(
await screen.findByText(/select database & schema/i),
).toBeInTheDocument();
expect(LeftPanel).toBeTruthy();
});

Expand Down

0 comments on commit 86362d6

Please sign in to comment.