Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinlog committed Sep 21, 2020
1 parent 091c049 commit af6ce5b
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,7 @@ describe('when on the list page', () => {
await reactTestingLibrary.act(async () => {
await middlewareSpy.waitForAction('serverReturnedEndpointList');
});
// const adminSearchBar = await renderResult.findByTestId('adminSearchBar');
return renderResult.findByTestId('adminSearchBar').catch((e) => {
expect(e).not.toBeNull();
});
expect(renderResult.queryByTestId('adminSearchBar')).toBeNull();
});
});

Expand Down

0 comments on commit af6ce5b

Please sign in to comment.