Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
tsullivan committed Oct 28, 2024
1 parent 9968b1f commit cd62e54
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,7 @@ describe('SearchBar', () => {
});

it(`tracks the user's search term`, async () => {
searchService.find.mockReturnValueOnce(
of(createBatch('Discover', { id: 'My Dashboard', type: 'test' }))
);
searchService.find.mockReturnValue(of(createBatch('Discover')));

render(
<IntlProvider locale="en">
Expand Down

0 comments on commit cd62e54

Please sign in to comment.