summaryrefslogtreecommitdiffstats
path: root/src/components/organisms/forms/settings-form.test.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/organisms/forms/settings-form.test.tsx')
-rw-r--r--src/components/organisms/forms/settings-form.test.tsx66
1 files changed, 0 insertions, 66 deletions
diff --git a/src/components/organisms/forms/settings-form.test.tsx b/src/components/organisms/forms/settings-form.test.tsx
deleted file mode 100644
index de2d4c9..0000000
--- a/src/components/organisms/forms/settings-form.test.tsx
+++ /dev/null
@@ -1,66 +0,0 @@
-import { storageKey as ackeeStorageKey } from '@components/molecules/forms/ackee-toggle.fixture';
-import { storageKey as motionStorageKey } from '@components/molecules/forms/motion-toggle.fixture';
-import { render, screen } from '@tests/utils';
-import SettingsForm from './settings-form';
-
-describe('SettingsForm', () => {
- it('renders a form', () => {
- render(
- <SettingsForm
- ackeeStorageKey={ackeeStorageKey}
- motionStorageKey={motionStorageKey}
- />
- );
- expect(
- screen.getByRole('form', { name: /^Settings form/i })
- ).toBeInTheDocument();
- });
-
- it('renders a theme setting', () => {
- render(
- <SettingsForm
- ackeeStorageKey={ackeeStorageKey}
- motionStorageKey={motionStorageKey}
- />
- );
- expect(
- screen.getByRole('radiogroup', { name: /^Theme:/i })
- ).toBeInTheDocument();
- });
-
- it('renders a code blocks setting', () => {
- render(
- <SettingsForm
- ackeeStorageKey={ackeeStorageKey}
- motionStorageKey={motionStorageKey}
- />
- );
- expect(
- screen.getByRole('radiogroup', { name: /^Code blocks:/i })
- ).toBeInTheDocument();
- });
-
- it('renders a motion setting', () => {
- render(
- <SettingsForm
- ackeeStorageKey={ackeeStorageKey}
- motionStorageKey={motionStorageKey}
- />
- );
- expect(
- screen.getByRole('radiogroup', { name: /^Animations:/i })
- ).toBeInTheDocument();
- });
-
- it('renders a Ackee setting', () => {
- render(
- <SettingsForm
- ackeeStorageKey={ackeeStorageKey}
- motionStorageKey={motionStorageKey}
- />
- );
- expect(
- screen.getByRole('radiogroup', { name: /^Tracking:/i })
- ).toBeInTheDocument();
- });
-});