Skip to content

Commit

Permalink
fix flackyness
Browse files Browse the repository at this point in the history
  • Loading branch information
nreese committed Jan 10, 2024
1 parent ddd179c commit 20085fa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ describe('useBatchedPublishingSubjects', () => {
await waitFor(() => {
expect(screen.getByText('value1: 1, value2: 1, value3: 1, value4: 1, value5: 1, value6: 1')).toBeInTheDocument();
});
expect(screen.getByTestId('renderCount')).toHaveTextContent('3');
expect(parseInt(screen.getByTestId('renderCount')?.textContent, 10)).toBeLessThan(7);
});

test('should render for each state update outside of click handler', async () => {
Expand Down

0 comments on commit 20085fa

Please sign in to comment.