Skip to content

Commit

Permalink
[Navigation] Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
laurkim committed Mar 18, 2024
1 parent a2f1d35 commit 5de0c56
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,13 @@ describe('<SecondaryNavigation />', () => {
});
});

it('renders Collapsible with transition', () => {
it('renders Collapsible with a custom transition', () => {
const component = mountWithApp(<SecondaryNavigation {...mockProps} />);
expect(component).toContainReactComponent(Collapsible, {
transition: true,
transition: {
duration: 'var(--p-motion-duration-200)',
timingFunction: 'var(--p-motion-ease-in-out)',
},
});
});

Expand Down

0 comments on commit 5de0c56

Please sign in to comment.