aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/organisms/modals/search-modal.test.tsx
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-04-14 19:43:35 +0200
committerArmand Philippot <git@armandphilippot.com>2022-04-14 19:43:35 +0200
commitb94b9b41f113da17f232a7d1044dedadd87e0c89 (patch)
tree3b589c7b3b18e9cf6c9d62339f647aad33609ba5 /src/components/organisms/modals/search-modal.test.tsx
parent70b4e5c311999501cd6eff632ddbcac6e75ff035 (diff)
chore: add a SearchModal component
Diffstat (limited to 'src/components/organisms/modals/search-modal.test.tsx')
-rw-r--r--src/components/organisms/modals/search-modal.test.tsx9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/components/organisms/modals/search-modal.test.tsx b/src/components/organisms/modals/search-modal.test.tsx
new file mode 100644
index 0000000..249c523
--- /dev/null
+++ b/src/components/organisms/modals/search-modal.test.tsx
@@ -0,0 +1,9 @@
+import { render, screen } from '@test-utils';
+import SearchModal from './search-modal';
+
+describe('SearchModal', () => {
+ it('renders a search modal', () => {
+ render(<SearchModal />);
+ expect(screen.getByText('Search')).toBeInTheDocument();
+ });
+});