Skip to content

Commit

Permalink
Fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
stepankuzmin committed Jun 28, 2024
1 parent 5bf7019 commit 25d253c
Show file tree
Hide file tree
Showing 3 changed files with 488 additions and 3 deletions.
3 changes: 1 addition & 2 deletions test/api.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -402,8 +402,7 @@ test('Draw.modes', () => {
assert.equal(Draw.modes.DRAW_POINT, Constants.modes.DRAW_POINT, 'draw_point');
assert.equal(Draw.modes.DRAW_LINE_STRING, Constants.modes.DRAW_LINE_STRING, 'draw_line_string');
assert.equal(Draw.modes.DRAW_POLYGON, Constants.modes.DRAW_POLYGON, 'draw_polygon');
assert.equal(Draw.modes.STATIC, Constants.modes.STATIC, 'static');
assert.equal(getPublicMemberKeys(Draw.modes).length, 6, 'no unexpected modes');
assert.equal(getPublicMemberKeys(Draw.modes).length, 5, 'no unexpected modes');
});

test('Draw.combineFeatures -- polygon + polygon = multiploygon', () => {
Expand Down
Loading

0 comments on commit 25d253c

Please sign in to comment.