JamesLMilner / terra-draw

A library for drawing on maps that supports Mapbox, MapLibre, Google Maps, OpenLayers and Leaflet out the box
https://terradraw.io
MIT License
447 stars 50 forks source link

test: improve the testing around mode validation #258

Closed JamesLMilner closed 3 months ago

JamesLMilner commented 3 months ago

Description of Changes

This PR adds E2E testing for validation in both the drawing and select modes. It also unifies around validation property instead of validate which was being used by the new mode validation option.

Link to Issue

256

PR Checklist