Skip to content

Commit

Permalink
mock react monaco editor
Browse files Browse the repository at this point in the history
  • Loading branch information
hassanad94 committed Nov 24, 2023
1 parent b9f3ce1 commit a2eae55
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions packages/sn-controls-react/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 a2eae55

Please sign in to comment.