diff --git a/examples/sn-react-calendar/test/mocks/react-monaco-editor.tsx b/examples/sn-react-calendar/test/__mocks__/react-monaco-editor.tsx similarity index 100% rename from examples/sn-react-calendar/test/mocks/react-monaco-editor.tsx rename to examples/sn-react-calendar/test/__mocks__/react-monaco-editor.tsx diff --git a/examples/sn-react-usersearch/test/__mocks__/react-monaco-editor.tsx b/examples/sn-react-usersearch/test/__mocks__/react-monaco-editor.tsx new file mode 100644 index 000000000..a55e36fa7 --- /dev/null +++ b/examples/sn-react-usersearch/test/__mocks__/react-monaco-editor.tsx @@ -0,0 +1,10 @@ +import * as React from 'react' +/** + * This is a mock MonacoEditor component for testing purposes. + * It simply renders an empty div. + * + * @returns {JSX.Element} An empty div. + */ +export default function MonacoEditor(): JSX.Element { + return
+} diff --git a/examples/sn-react-usersearch/test/_mocks_/test_contents.ts b/examples/sn-react-usersearch/test/__mocks__/test_contents.ts similarity index 100% rename from examples/sn-react-usersearch/test/_mocks_/test_contents.ts rename to examples/sn-react-usersearch/test/__mocks__/test_contents.ts