From d7bcd93efcd4f1ae20678d0efa6777cfadc09a4e Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Fri, 10 Nov 2023 12:16:59 +0100
Subject: refactor(components): replace Overview with ProjectOverview component

* `cover` prop is now expecting a ReactElement (NextImage)
* `meta` prop is now limited to a specific set of meta items
* add a `name` prop to add an accessible name to the figure element
---
 tests/jest/__mocks__/svgr.mock.tsx | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 tests/jest/__mocks__/svgr.mock.tsx

(limited to 'tests/jest/__mocks__/svgr.mock.tsx')

diff --git a/tests/jest/__mocks__/svgr.mock.tsx b/tests/jest/__mocks__/svgr.mock.tsx
new file mode 100644
index 0000000..28fa414
--- /dev/null
+++ b/tests/jest/__mocks__/svgr.mock.tsx
@@ -0,0 +1,9 @@
+import React, { type SVGProps } from 'react';
+
+const SvgrMock = React.forwardRef<SVGSVGElement, SVGProps<SVGSVGElement>>(
+  (props, ref) => <svg ref={ref} {...props} />
+);
+SvgrMock.displayName = 'SvgrMock';
+
+export const ReactComponent = SvgrMock;
+export default SvgrMock;
-- 
cgit v1.2.3

