summaryrefslogtreecommitdiffstats
path: root/src/components/molecules/layout/modal.test.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/molecules/layout/modal.test.tsx')
-rw-r--r--src/components/molecules/layout/modal.test.tsx9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/components/molecules/layout/modal.test.tsx b/src/components/molecules/layout/modal.test.tsx
new file mode 100644
index 0000000..14fb224
--- /dev/null
+++ b/src/components/molecules/layout/modal.test.tsx
@@ -0,0 +1,9 @@
+import { render, screen } from '@test-utils';
+import Modal from './modal';
+
+describe('Modal', () => {
+ it('renders a title', () => {
+ render(<Modal title="A custom title" />);
+ expect(screen.getByText('A custom title')).toBeInTheDocument();
+ });
+});