Skip to content

Commit

Permalink
unit test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
hassanad94 committed Nov 24, 2023
1 parent a2eae55 commit 2ce9ba6
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions examples/sn-react-calendar/test/mocks/react-monaco-editor.tsx
Original file line number Diff line number Diff line change
@@ -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 <div />
}
10 changes: 10 additions & 0 deletions packages/sn-control-mapper/test/__mocks__/react-monaco-editor.tsx
Original file line number Diff line number Diff line change
@@ -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 <div />
}

0 comments on commit 2ce9ba6

Please sign in to comment.