File tree 2 files changed +9
-1
lines changed
client/packages/lowcoder/src
2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,15 @@ import { trans } from "../../../i18n";
3
3
import { evalAndReduce } from "comps/utils" ;
4
4
import { messageInstance } from "lowcoder-design" ;
5
5
6
+ jest . mock ( 'lowcoder-design/src/components/GlobalInstances' , ( ) => ( {
7
+ __esModule : true , // this property makes it work
8
+ default : 'mockedDefaultExport' ,
9
+ messageInstance : {
10
+ error : jest . fn ( ) ,
11
+ success : jest . fn ( ) ,
12
+ } ,
13
+ } ) ) ;
14
+
6
15
const param = {
7
16
value : {
8
17
showSuccess : true ,
Original file line number Diff line number Diff line change @@ -540,7 +540,6 @@ export const LeftContent = (props: LeftContentProps) => {
540
540
< LeftContentWrapper className = "cypress-left-content" >
541
541
< LeftContentTabs
542
542
defaultActiveKey = { LeftTabKey . ModuleSetting }
543
- // TODO: RAHEEL
544
543
items = { tabItems }
545
544
>
546
545
</ LeftContentTabs >
You can’t perform that action at this time.
0 commit comments