From 5de0c56f53e1a95aedd4f05a79e91916417cf063 Mon Sep 17 00:00:00 2001 From: Lo Kim Date: Thu, 14 Mar 2024 14:26:24 -0400 Subject: [PATCH] [Navigation] Update tests --- .../SecondaryNavigation/tests/SecondaryNavigation.test.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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)', + }, }); });