Skip to content

Commit

Permalink
name fix and remove behaveascomponent
Browse files Browse the repository at this point in the history
  • Loading branch information
broccolinisoup committed Jul 28, 2023
1 parent 60c533c commit 3d5862d
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/UnderlineNav/UnderlineNav.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,7 @@ const ResponsiveUnderlineNav = ({
}

describe('UnderlineNav', () => {
behavesAsComponent({
Component: UnderlineNav,
options: {skipAs: true, skipSx: true},
toRender: () => <ResponsiveUnderlineNav />,
})

checkExports('UnderlineNav2', {
checkExports('UnderlineNav', {
default: undefined,
UnderlineNav,
})
Expand Down Expand Up @@ -191,4 +185,4 @@ describe('Keyboard Navigation', () => {
})
})

checkStoriesForAxeViolations('UnderlineNav2.examples', '../UnderlineNav2/')
checkStoriesForAxeViolations('UnderlineNav.examples', '../UnderlineNav/')

0 comments on commit 3d5862d

Please sign in to comment.