Skip to content

Commit 714e856

Browse files
committed
remove visual-only test
1 parent 1f443a8 commit 714e856

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

packages/react/src/SubNav/SubNav.test.tsx

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -174,19 +174,6 @@ describe('SubNav', () => {
174174
expect(separator).toBeInTheDocument()
175175
})
176176

177-
it('does not render a trailing separator after the heading when there are no links with `aria-current="page"` set on narrow viewports', () => {
178-
const {queryByRole} = render(
179-
<MockSubNavFixture
180-
data={[
181-
{title: 'page one', href: '#page1'},
182-
{title: 'page two', href: '#page2'},
183-
]}
184-
/>,
185-
)
186-
187-
expect(queryByRole('separator', {hidden: true})).not.toBeInTheDocument()
188-
})
189-
190177
it('shows the aria-current text next to the button by default', () => {
191178
const {getByRole} = render(<MockSubNavFixture />)
192179

0 commit comments

Comments
 (0)