Skip to content

create new modeler instance always, but only call getModeler once in … #13235

create new modeler instance always, but only call getModeler once in …

create new modeler instance always, but only call getModeler once in … #13235

Triggered via push April 19, 2024 10:05
Status Failure
Total duration 10m 1s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 1 warning
useBpmnModeler › should avoid creating a new instance of the class if it already has an instance: frontend/packages/process-editor/src/hooks/useBpmnModeler/useBpmnModeler.test.ts#L39
expect(received).not.toBe(expected) // Object.is equality Expected: not "<div>MockedHtml2</div>" at Object.toBe (packages/process-editor/src/hooks/useBpmnModeler/useBpmnModeler.test.ts:39:54)
Testing
Process completed with exit code 1.
Typechecking and linting: frontend/packages/process-editor/src/hooks/useBpmnEditor.ts#L99
React Hook useEffect has missing dependencies: 'getModeler', 'initializeBpmnChanges', 'initializeEditor', and 'modelerRef'. Either include them or remove the dependency array