Skip to content

Commit

Permalink
remove duplicative test
Browse files Browse the repository at this point in the history
  • Loading branch information
williaster committed Dec 17, 2024
1 parent 8e1e475 commit 3f5df41
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions packages/visx-axis/test/AxisRight.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,19 +49,6 @@ describe('<AxisRight />', () => {
expect(container.querySelector('.tick-test-class')).toBeInTheDocument();
});

it('should render with custom props', () => {
const labelOffset = 3;
const tickLength = 15;

const { container } = renderAxis({ labelOffset, tickLength });
const axis = container.querySelector('.visx-axis-right');
expect(axis).toBeInTheDocument();

// Verify ticks are rendered
const ticks = container.querySelectorAll('.visx-axis-tick');
expect(ticks.length).toBeGreaterThan(0);
});

it('should render label correctly', () => {
const label = 'test';
const { container } = renderAxis({ label });
Expand Down

0 comments on commit 3f5df41

Please sign in to comment.