developmentseed / developmentseed/observe

Pending tests for "complex" changeset generation

Open
#270 0 comments 0 reactions 0 assignees View on GitHub
tech-debt
Dominant language
JavaScript
Stars
66
Forks
4
PR merge metrics
No merged PRs in 30d

Description

We need tests to cover all possible cases where `getComplexChange` is called - https://github.com/developmentseed/observe/blob/418fc71e5631fe3f3bc11740d70b8607ae10c694/app/utils/edit-to-osm-change.js#L50 :

Add way:
- [ ] Simple case of add way with all new nodes
- [ ] Add new node with one or more shared nodes to existing way
- [ ] Add node with one or more shared nodes to existing way and MOVE that node

Modify way:
- [ ] Move one or more nodes on way
- [ ] Add node to way
- [ ] Delete node from way
- [ ] Add node to way that is shared by another way
- [ ] Merge node on way with node on another way

cc @geohacker

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.