summaryrefslogtreecommitdiffstats
path: root/src/components/organisms/forms/settings-form.test.tsx
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-05-31 19:40:23 +0200
committerArmand Philippot <git@armandphilippot.com>2022-06-01 22:32:09 +0200
commit8320b1d39ea6402c32e907dbb35082efc6af9f5a (patch)
treeb5ee9586a4ec91aa15c92dcb513b551716fd4416 /src/components/organisms/forms/settings-form.test.tsx
parent994ad1bec193b2d1a6e0d38d6ef3f3d2bd66c3ea (diff)
chore: replace the toggle component
Diffstat (limited to 'src/components/organisms/forms/settings-form.test.tsx')
-rw-r--r--src/components/organisms/forms/settings-form.test.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/organisms/forms/settings-form.test.tsx b/src/components/organisms/forms/settings-form.test.tsx
index 43d546e..90a2751 100644
--- a/src/components/organisms/forms/settings-form.test.tsx
+++ b/src/components/organisms/forms/settings-form.test.tsx
@@ -25,7 +25,7 @@ describe('SettingsForm', () => {
/>
);
expect(
- screen.getByRole('checkbox', { name: /^Theme:/i })
+ screen.getByRole('radiogroup', { name: /^Theme:/i })
).toBeInTheDocument();
});
@@ -37,7 +37,7 @@ describe('SettingsForm', () => {
/>
);
expect(
- screen.getByRole('checkbox', { name: /^Code blocks:/i })
+ screen.getByRole('radiogroup', { name: /^Code blocks:/i })
).toBeInTheDocument();
});
@@ -49,7 +49,7 @@ describe('SettingsForm', () => {
/>
);
expect(
- screen.getByRole('checkbox', { name: /^Animations:/i })
+ screen.getByRole('radiogroup', { name: /^Animations:/i })
).toBeInTheDocument();
});