digidem / osm-p2p-server

Peer-to-peer OpenStreetMap API v0.6 Server for osm-p2p-db
BSD 2-Clause "Simplified" License
87 stars 10 forks source link

Fix tests in lib/ and api/ #39

Closed hackergrrl closed 5 years ago

hackergrrl commented 5 years ago

These were failing after the kappa-osm port. Turns out the npm test script wasn't even running them!

codecov-io commented 5 years ago

Codecov Report

Merging #39 into master will increase coverage by 2.88%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #39      +/-   ##
==========================================
+ Coverage    83.8%   86.68%   +2.88%     
==========================================
  Files          28       28              
  Lines         673      676       +3     
==========================================
+ Hits          564      586      +22     
+ Misses        109       90      -19
Impacted Files Coverage Δ
api/create_changeset.js 100% <100%> (ø) :arrow_up:
lib/validate_changeset.js 85% <100%> (+8.52%) :arrow_up:
lib/filter_deletes.js 88.73% <0%> (+2.81%) :arrow_up:
lib/replace_ids.js 100% <0%> (+11.11%) :arrow_up:
api/create_element.js 100% <0%> (+14.28%) :arrow_up:
api/get_changes.js 97.56% <0%> (+14.63%) :arrow_up:
api/close_changeset.js 100% <0%> (+20%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 3163396...622425b. Read the comment docs.