Skip to content

Commit 0262555

Browse files
committed
Revert "Update polygon.cy.js"
This reverts commit e9da6bc.
1 parent e9da6bc commit 0262555

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cypress/e2e/polygon.cy.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -703,8 +703,7 @@ describe('Draw & Edit Poly', () => {
703703
const handSelfIntersectionFalse = new Hand({
704704
timing: 'frame',
705705
onStop() {
706-
// commenting out this line, fixes the test?? Why do we expect this assertion to be false here?
707-
//expect(poly.pm.hasSelfIntersection()).to.equal(false);
706+
expect(poly.pm.hasSelfIntersection()).to.equal(false);
708707

709708
// Map shouldn't be dragged
710709
const center = map.getCenter();

0 commit comments

Comments
 (0)