We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f443a8 commit 714e856Copy full SHA for 714e856
packages/react/src/SubNav/SubNav.test.tsx
@@ -174,19 +174,6 @@ describe('SubNav', () => {
174
expect(separator).toBeInTheDocument()
175
})
176
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
190
it('shows the aria-current text next to the button by default', () => {
191
const {getByRole} = render(<MockSubNavFixture />)
192
0 commit comments