aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/organisms/modals/settings-modal.test.tsx
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-05-18 22:40:59 +0200
committerArmand Philippot <git@armandphilippot.com>2022-05-18 22:40:59 +0200
commit584bd42f871d2e1618ca414749f09c38f0143a44 (patch)
tree45c821eec2ad9c77d5bccf83057cfc0a7e22ba09 /src/components/organisms/modals/settings-modal.test.tsx
parentb214baab3e17d92f784b4f782863deafc5558ee4 (diff)
chore: handle settings change
Diffstat (limited to 'src/components/organisms/modals/settings-modal.test.tsx')
-rw-r--r--src/components/organisms/modals/settings-modal.test.tsx7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/components/organisms/modals/settings-modal.test.tsx b/src/components/organisms/modals/settings-modal.test.tsx
index acbf7d1..d6ed989 100644
--- a/src/components/organisms/modals/settings-modal.test.tsx
+++ b/src/components/organisms/modals/settings-modal.test.tsx
@@ -3,7 +3,12 @@ import SettingsModal from './settings-modal';
describe('SettingsModal', () => {
it('renders a fake heading', () => {
- render(<SettingsModal />);
+ render(
+ <SettingsModal
+ ackeeStorageKey="ackee-tracking"
+ motionStorageKey="reduce-motion"
+ />
+ );
expect(screen.getByText(/Settings/i)).toBeInTheDocument();
});
});