diff --git a/polaris-react/src/components/Navigation/components/Item/components/SecondaryNavigation/tests/SecondaryNavigation.test.tsx b/polaris-react/src/components/Navigation/components/Item/components/SecondaryNavigation/tests/SecondaryNavigation.test.tsx index 1d49386070a..6843f3945d1 100644 --- a/polaris-react/src/components/Navigation/components/Item/components/SecondaryNavigation/tests/SecondaryNavigation.test.tsx +++ b/polaris-react/src/components/Navigation/components/Item/components/SecondaryNavigation/tests/SecondaryNavigation.test.tsx @@ -48,10 +48,13 @@ describe('', () => { }); }); - it('renders Collapsible with transition', () => { + it('renders Collapsible with a custom transition', () => { const component = mountWithApp(); expect(component).toContainReactComponent(Collapsible, { - transition: true, + transition: { + duration: 'var(--p-motion-duration-200)', + timingFunction: 'var(--p-motion-ease-in-out)', + }, }); });