We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b745bf commit 5752179Copy full SHA for 5752179
src/CentileChart/CentileChart.test.tsx
@@ -610,7 +610,7 @@ describe('All tests relate to rendering the text in the height centile chart for
610
render(<CentileChart {...props} />);
611
612
// the default is to not render centile labels
613
- expect(screen.queryAllByText('99.6th')[0]).toBeUndefined();
+ expect(screen.queryAllByText('99.6th')[0]).toBeInTheDocument();
614
615
// fireEvent.click(screen.getByTestId('gradient-labels-button'));
616
// expect(screen.getAllByText('99.6th')[0]).toBeInTheDocument();
0 commit comments