diff options
Diffstat (limited to 'src/components/organisms/toolbar/toolbar.test.tsx')
| -rw-r--r-- | src/components/organisms/toolbar/toolbar.test.tsx | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/components/organisms/toolbar/toolbar.test.tsx b/src/components/organisms/toolbar/toolbar.test.tsx index 8fb06b0..e6b1022 100644 --- a/src/components/organisms/toolbar/toolbar.test.tsx +++ b/src/components/organisms/toolbar/toolbar.test.tsx @@ -1,5 +1,5 @@ import { describe, expect, it } from '@jest/globals'; -import { render, screen } from '../../../../tests/utils'; +import { render, screen as rtlScreen } from '../../../../tests/utils'; import { Toolbar } from './toolbar'; const nav = [ @@ -12,13 +12,8 @@ const nav = [ describe('Toolbar', () => { it('renders a navigation menu', () => { render( - <Toolbar - ackeeStorageKey="ackee-tracking" - motionStorageKey="reduced-motion" - nav={nav} - searchPage="#" - /> + <Toolbar motionStorageKey="reduced-motion" nav={nav} searchPage="#" /> ); - expect(screen.getByRole('navigation')).toBeInTheDocument(); + expect(rtlScreen.getByRole('navigation')).toBeInTheDocument(); }); }); |
