aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/organisms/toolbar/settings.test.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/organisms/toolbar/settings.test.tsx')
-rw-r--r--src/components/organisms/toolbar/settings.test.tsx23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/components/organisms/toolbar/settings.test.tsx b/src/components/organisms/toolbar/settings.test.tsx
deleted file mode 100644
index 6dbed2b..0000000
--- a/src/components/organisms/toolbar/settings.test.tsx
+++ /dev/null
@@ -1,23 +0,0 @@
-import { describe, expect, it } from '@jest/globals';
-import { render, screen as rtlScreen } from '../../../../tests/utils';
-import { Settings } from './settings';
-
-const doNothing = () => {
- // do nothing
-};
-
-describe('Settings', () => {
- it('renders a button to open settings modal', () => {
- render(<Settings isActive={false} setIsActive={doNothing} />);
- expect(
- rtlScreen.getByRole('checkbox', { name: 'Open settings' })
- ).toBeInTheDocument();
- });
-
- it('renders a button to close settings modal', () => {
- render(<Settings isActive={true} setIsActive={doNothing} />);
- expect(
- rtlScreen.getByRole('checkbox', { name: 'Close settings' })
- ).toBeInTheDocument();
- });
-});