Fix ERD JS test cases failing due to previous commit.

This commit is contained in:
Aditya Toshniwal committed 2023-04-24 18:49:04 +05:30
1 parent 4c2ae44e4c
commit 3ac789f615
1 file changed
+1 -1
@@ -129,7 +129,7 @@ class ERDTool extends React.Component {
this.fileInputRef = React.createRef();
this.containerRef = React.createRef();
this.diagramContainerRef = React.createRef();
this.canvasEle = null;
this.canvasEle = props.isTest ? document.createElement('div') : null;
this.noteRefEle = null;
this.noteNode = null;
this.keyboardActionObj = null;