Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaetanbrl committed Nov 7, 2024
1 parent b2f5198 commit 2e885a1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ describe('Featuregrid toolbar component', () => {
ReactDOM.render(<Toolbar events={events} mode="EDIT" canEditGeometry selectedCount={1} hasGeometry isSimpleGeom={false} />, document.getElementById("container"));
button = document.getElementById("fg-draw-feature");
expect(isVisibleButton(button)).toBe(true);
ReactDOM.render(<Toolbar events={events} mode="EDIT" isEditingAllowed={true} canEditGeometry={false} selectedCount={1} hasGeometry isSimpleGeom={false} />, document.getElementById("container"));
ReactDOM.render(<Toolbar events={events} mode="EDIT" isEditingAllowed canEditGeometry={false} selectedCount={1} hasGeometry isSimpleGeom={false} />, document.getElementById("container"));
button = document.getElementById("fg-draw-feature");
expect(isVisibleButton(button)).toBe(false);
ReactDOM.render(<Toolbar events={events} mode="EDIT" canEditGeometry selectedCount={1} hasGeometry isSimpleGeom />, document.getElementById("container"));
Expand Down

0 comments on commit 2e885a1

Please sign in to comment.